session_start(
self,
context: ClientHookContext,
cause: SessionStartCause,
*,
model: str || Name | Type | Description |
|---|---|---|
context* | ClientHookContext | |
cause* | SessionStartCause | |
model | str | None | Default: None |
Invoke SessionStart and retain context for the next model turn.
Current client session context.
Lifecycle boundary that started the session.
Active model identifier when available.