ProgressToolErrorEvent 工具执行错误事件
| 158 | |
| 159 | // ProgressToolErrorEvent 工具执行错误事件 |
| 160 | type ProgressToolErrorEvent struct { |
| 161 | Call ToolCallSnapshot `json:"call"` |
| 162 | Error string `json:"error"` |
| 163 | } |
| 164 | |
| 165 | func (e *ProgressToolErrorEvent) Channel() AgentChannel { return ChannelProgress } |
| 166 | func (e *ProgressToolErrorEvent) EventType() string { return "tool:error" } |
nothing calls this directly
no outgoing calls
no test coverage detected