Documentation ¶ Index ¶ func ExecuteToolCall(tc ToolCall, workingDirectory string, sessionID string) (tools.ToolResponse, error) type Chat type Response func ApiCall(ctx context.Context, input string, chats []Chat, mode string) Response type ToolCall Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ExecuteToolCall ¶ func ExecuteToolCall(tc ToolCall, workingDirectory string, sessionID string) (tools.ToolResponse, error) Types ¶ type Chat ¶ type Chat struct { Role string Content string ToolCallID string } type Response ¶ type Response struct { Text string ToolCalls []ToolCall CompleteResponse *openai.ChatCompletion } func ApiCall ¶ func ApiCall(ctx context.Context, input string, chats []Chat, mode string) Response type ToolCall ¶ type ToolCall struct { ID string Name string Arguments string } Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.