Files
zesdex/src/app/subagent/event.rs
T

25 lines
406 B
Rust
Raw Normal View History

use serde_json::Value;
#[derive(Debug, Clone)]
pub enum SubagentEvent {
StepCompleted {
_step: usize,
_output: String,
},
StepFailed {
_step: usize,
_error: String,
},
Completed {
_output: String,
},
ToolCall {
_tool: String,
_args: Value,
},
ToolResult {
_tool: String,
_output: String,
},
}