AgentCancelledEvent
junjo.hooks.AgentCancelledEvent
Kind: Class
SDK version: 0.64.0
Documentation channel: Next source preview
Signature
Section titled “Signature”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)Payload delivered after an admitted Agent execution is cancelled.
Members
Section titled “Members”agent_key
Section titled “agent_key”agent_key: strPublic attribute.
store_id
Section titled “store_id”store_id: strPublic attribute.
reason
Section titled “reason”reason: strPublic attribute.
state: agent_state.AgentStateSnapshotPublic attribute.