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

28 lines
440 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,
},
Failed {
error: String,
},
ToolCall {
tool: String,
args: Value,
},
ToolResult {
tool: String,
output: String,
},
}