Package-level declarations

Types

Link copied to clipboard
class AnthropicBackend(baseUrl: String, model: String, apiKey: String, systemPrompt: String = "", tools: List<AgentTool> = emptyList(), approver: ToolApprover = ToolApprover.AlwaysApprove, maxTokens: Int = 8192, maxSteps: Int = 8, client: OkHttpClient = DefaultHttpClient) : ChatBackend

The Anthropic Messages API (POST /v1/messages, streaming), usable with api.anthropic.com or any Anthropic-compatible proxy.