MCPcopy Create free account
hub / github.com/astercloud/aster / ProgressToolErrorEvent

Struct ProgressToolErrorEvent

pkg/types/events.go:160–163  ·  view source on GitHub ↗

ProgressToolErrorEvent 工具执行错误事件

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected