Skip to content

AgentCancelledEvent

junjo.hooks.AgentCancelledEvent

Kind: Class

SDK version: 0.64.0

Documentation channel: Next source preview

AgentCancelledEvent(agent_key: str, store_id: str, reason: str, state: agent_state.AgentStateSnapshot, *, run_id: str, executable_definition_id: str, name: str, trace_id: str, span_id: str, executable_type: ExecutableType, executable_runtime_id: str, executable_structural_id: str, parent_executable_definition_id: str | None = None, parent_executable_runtime_id: str | None = None, parent_executable_structural_id: str | None = None, parent_executable_type: ExecutableType | None = None)

View source

Payload delivered after an admitted Agent execution is cancelled.

agent_key: str

View source

Public attribute.

store_id: str

View source

Public attribute.

reason: str

View source

Public attribute.

state: agent_state.AgentStateSnapshot

View source

Public attribute.