sessionId property

String? Function()? sessionId
getter/setter pair

Cache-affinity session id bound into every chain entry's provider stream (resolved lazily per call, so a host that learns the session id after construction — the CLI/app create sessions lazily — still gets prompt-cache affinity). Ignored for adapters without cache routing.

Implementation

String? Function()? sessionId;