on_session_start(
self,
cause: SessionStartCause,
*,
model: str | None = None
) ->| Name | Type | Description |
|---|---|---|
cause* | SessionStartCause | |
model | str | None | Default: None |
Run SessionStart and accumulate any context it returns.
Context is retained rather than returned; take_pending_context
consumes it when the next model turn is assembled.
Lifecycle boundary that started the session.
Active model identifier, when known.