Skip to content

AgentFailedEvent

junjo.hooks.AgentFailedEvent

Kind: Class

SDK version: 0.64.0

Documentation channel: Next source preview

AgentFailedEvent(agent_key: str, store_id: str, error: AgentExecutionError, 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 fails.

agent_key: str

View source

Public attribute.

store_id: str

View source

Public attribute.

error: AgentExecutionError

View source

Public attribute.

state: agent_state.AgentStateSnapshot

View source

Public attribute.