Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentSession ¶ added in v0.36.0
type AgentSession struct {
// contains filtered or unexported fields
}
AgentSession manages the background execution session
type ConversationMessage ¶ added in v0.36.0
type ConversationMessage struct { Role string `json:"role"` Content string `json:"content"` ToolCalls *[]sdk.ChatCompletionMessageToolCall `json:"tool_calls,omitempty"` Tools []string `json:"tools,omitempty"` ToolCallID string `json:"tool_call_id,omitempty"` TokenUsage *sdk.CompletionUsage `json:"token_usage,omitempty"` Timestamp time.Time `json:"timestamp"` RequestID string `json:"request_id,omitempty"` Internal bool `json:"-"` }
ConversationMessage represents a message in the JSON output conversation
Click to show internal directories.
Click to hide internal directories.