Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssistantToolCallMessage ¶ added in v2.13.0
type CommonResponse ¶
type CommonResponse struct {
ID string `json:"id"`
Choices []struct {
Delta struct {
Content string `json:"content"`
ToolCalls []ToolCallDelta `json:"tool_calls,omitempty"`
} `json:"delta"`
FinishReason string `json:"finish_reason,omitempty"`
} `json:"choices"`
}
type DefaultMessage ¶ added in v2.10.1
type ExtraOptions ¶
type ExtraOptions struct {
IsGetSilent bool
IsGetWhole bool
IsGetCommand bool
IsNormal bool
IsGetCode bool
IsInteractive bool
IsInteractiveShell bool
AutoExec bool
IsFind bool // IsFind enable web search functionality
IsInteractiveFind bool // IsInteractiveFind enable interactive web search mode
Verbose bool // Verbose enable detailed search output
SearchProvider string // Search provider: "exa" (default) or "google"
IsToolFollowUp bool // IsToolFollowUp marks a request made to continue after tool execution
ToolDepth int // ToolDepth tracks recursion depth of tool execution loops
}
type ImageParams ¶
type PowerBrainResponse ¶ added in v2.12.0
type PowerBrainResponse struct {
Data string `json:"data"`
}
type ToolCall ¶ added in v2.13.0
type ToolCall struct {
ID string `json:"id"`
Type string `json:"type"`
Function ToolCallFunction `json:"function"`
}
type ToolCallDelta ¶ added in v2.13.0
type ToolCallDelta struct {
Index int `json:"index"`
ID string `json:"id,omitempty"`
Type string `json:"type,omitempty"`
Function ToolCallFunction `json:"function"`
}
type ToolCallFunction ¶ added in v2.13.0
Click to show internal directories.
Click to hide internal directories.