Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionType ¶
type ActionType string
const ( ActionThink ActionType = "think" ActionToolCall ActionType = "tool_call" ActionMessage ActionType = "message" ActionError ActionType = "error" ActionDone ActionType = "done" )
type AgentEvent ¶
type AgentEvent struct {
ID string `json:"id,omitempty"`
Type ActionType `json:"type"`
Text string `json:"text,omitempty"`
Tool string `json:"tool,omitempty"`
ToolInput map[string]any `json:"tool_input,omitempty"`
Output string `json:"output,omitempty"`
Stderr string `json:"stderr,omitempty"`
ExitCode *int `json:"exit_code,omitempty"`
Mock *MockConfig `json:"mock,omitempty"`
Changes []FileChange `json:"changes,omitempty"`
}
type FileChange ¶
type MockConfig ¶
type MockConfig struct {
Output string `json:"output,omitempty"`
Stderr string `json:"stderr,omitempty"`
ExitCode *int `json:"exit_code,omitempty"`
Content string `json:"content,omitempty"`
Changes []FileChange `json:"changes,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.