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
| Name | Type | Description |
|---|---|---|
Agent | variant | – |
started | variant | – |
AgentStart | variant | Agent started |
Agent | variant | – |
completed | variant | – |
AgentEnd | variant | Agent completed |
Tool | variant | – |
call | variant | – |
started | variant | – |
ToolStart | variant | Tool call started |
Tool | variant | – |
call | variant | – |
completed | variant | – |
ToolEnd | variant | Tool call completed |
LLM | variant | – |
request | variant | – |
started | variant | – |
LlmStart | variant | LLM request started |
LLM | variant | – |
response | variant | – |
received | variant | – |
LlmEnd | variant | LLM response received |
Memory | variant | – |
operation | variant | – |
MemoryOp | variant | Memory operation |
Workflow | variant | – |
step | variant | – |
WorkflowStep | variant | Workflow step |
Error | variant | – |
occurred | variant | – |
Error | variant | Error occurred |
Custom | variant | – |
event | variant | – |
Custom | variant | Custom event |
Source
View on GitHubpraisonai/src/trace/mod.rs at line 0