class documentation
class AnthropicProvider(LLMProvider): (source)
Constructor: AnthropicProvider(context)
Anthropic Claude Messages API provider (normalized to OpenAI format).
| Method | chat |
Send a request to Anthropic's /v1/messages API. |
| Static Method | _prepare |
Undocumented |
| Static Method | _prepare |
Translate OpenAI function tool schemas to Anthropic's tool schema. |
| Method | _prepare |
Translate OpenAI-style conversation history to Anthropic Messages format. |
Inherited from LLMProvider:
| Method | __init__ |
Undocumented |
| Instance Variable | context |
Undocumented |
| Method | _prepare |
Convert string message to proper messages array |