Context Event Type • Rust AI Agent SDK

ContextEventType: Type of context event.

ContextEventType

Defined in the trace module.

Rust AI Agent SDK

Type of context event.

Fields

NameTypeDescription
Agentvariant–
startedvariant–
AgentStartvariantAgent started
Agentvariant–
completedvariant–
AgentEndvariantAgent completed
Toolvariant–
callvariant–
startedvariant–
ToolStartvariantTool call started
Toolvariant–
callvariant–
completedvariant–
ToolEndvariantTool call completed
LLMvariant–
requestvariant–
startedvariant–
LlmStartvariantLLM request started
LLMvariant–
responsevariant–
receivedvariant–
LlmEndvariantLLM response received
Memoryvariant–
operationvariant–
MemoryOpvariantMemory operation
Workflowvariant–
stepvariant–
WorkflowStepvariantWorkflow step
Errorvariant–
occurredvariant–
ErrorvariantError occurred
Customvariant–
eventvariant–
CustomvariantCustom event

Source

View on GitHub

praisonai/src/trace/mod.rs at line 0


Related Documentation