Skip to main content

Module run_context

Module run_context 

Source

Structs§

StateCommitError
Error returned by state commit sinks.

Enums§

CancelAware

Constants§

TOOL_SCOPE_CALLER_AGENT_ID_KEY
Scope key: caller agent id visible to tools.
TOOL_SCOPE_CALLER_MESSAGES_KEY
Scope key: caller message snapshot visible to tools.
TOOL_SCOPE_CALLER_STATE_KEY
Scope key: caller state snapshot visible to tools.
TOOL_SCOPE_CALLER_THREAD_ID_KEY
Scope key: caller session id visible to tools.

Traits§

StateCommitter
Sink for committed thread deltas.

Functions§

await_or_cancel
cancelled
is_cancelled

Type Aliases§

RunCancellationToken