api.services.ai.providers.anthropic¶
Claude through the Anthropic SDK (Messages API, beta namespace for the server-side refusal fallback).
Attributes¶
Classes¶
Module Contents¶
- api.services.ai.providers.anthropic.FALLBACK_BETA = 'server-side-fallback-2026-07-01'¶
- api.services.ai.providers.anthropic.MODERN_MODELS¶
- api.services.ai.providers.anthropic.WEB_MODELS¶
- api.services.ai.providers.anthropic.MAX_CONTINUATIONS = 4¶
- class api.services.ai.providers.anthropic.AnthropicProvider(client_factory: collections.abc.Callable[[], Any] | None = None)¶
- name = 'anthropic'¶
- configured() bool¶
- property client: Any¶
- generate(profile: api.services.ai.settings.ModelProfile, request: api.services.ai.providers.base.AIRequest) api.services.ai.providers.base.AIResult¶