Anthropic API provider adapter.
Implements IAIProvider against the Anthropic Messages API. Requires an API key in the configuration.
Anthropic API provider adapter. Implements IAIProvider against the Anthropic Messages API. Requires an API key in the configuration. API docs: https://docs.anthropic.com/en/api/messages
(create-anthropic-provider {:keys [api-key model timeout]})Create an AnthropicProvider.
Args: config - map with: :api-key - Anthropic API key string (required) :model - model ID (default "claude-haiku-4-5-20251001")
Returns: AnthropicProvider record.
Create an AnthropicProvider.
Args:
config - map with:
:api-key - Anthropic API key string (required)
:model - model ID (default "claude-haiku-4-5-20251001")
Returns:
AnthropicProvider record.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |