Skip to content

Cannot configure llm anthropic #23

@marcoeg

Description

@marcoeg

I have tried the following but without success:

 "llm": {
    "provider": "anthropic",
    "model": "claude-3-7-sonnet-20250219",
    "api_key": "<api-key>,
    "base_url": "https://api.anthropic.com/v1/batches"
  }

Perhaps a documentation issue?

Checked the model name with curl https://api.anthropic.com/v1/models:

 "data": [
    {
      "type": "model",
      "id": "claude-3-7-sonnet-20250219",
      "display_name": "Claude 3.7 Sonnet",
      "created_at": "2025-02-24T00:00:00Z"
    },
    {
      "type": "model",
      "id": "claude-3-5-sonnet-20241022",
      "display_name": "Claude 3.5 Sonnet (New)",
      "created_at": "2024-10-22T00:00:00Z"
    },
...

Supported model providers are: openai, cohere, together, huggingface, mistralai, google_genai, anthropic, bedrock, azure_openai, google_vertexai, groq, ollama, fireworks, bedrock_converse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions