ractogateway.adapters.anthropic_kit
Anthropic Claude adapter.
- class ractogateway.adapters.anthropic_kit.AnthropicLLMKit(model='claude-sonnet-4-5-20250929', *, api_key=None, **kwargs)[source]
Bases:
BaseLLMAdapterAdapter for the Anthropic Messages API.
- Parameters:
- provider: str = 'anthropic'
- translate_tools(registry)[source]
Convert registry schemas to Anthropic tool format.
- run(prompt, user_message, *, history=None, tools=None, temperature=0.0, max_tokens=4096, **kwargs)[source]
Execute a prompt against the provider and return a normalised response.
- Return type:
- async arun(prompt, user_message, *, history=None, tools=None, temperature=0.0, max_tokens=4096, **kwargs)[source]
Async variant of
run().- Return type: