Skip to content

openrouter 404 [Bug]:  #883

Description

@maxenergy

Version

Command-line (Python) version

Operating System

Ubuntu Linux

What happened?

ENDPOINT=OPENROUTER
OPENROUTER_API_KEY="sk-or-v1-c16ba73a4xxxx"
OPENROUTER_ENDPOINT="https://openrouter.ai/api/v1/chat/completions"
MODEL_NAME=anthropic/claude-3-sonnet or MODEL_NAME=microsoft/wizardlm-2-8x22b
There was a problem with request to openai API:
API responded with status code: 404. Request token size: 23 tokens. Response text: {"error":{"message":"Model claude-3-sonnet is not available","code":404},"user_id":"user_2fAwa46HBxxxxxx"}
The request to OPENROUTER API failed with error: API responded with status code: 404. Request token size: 23 tokens. Response text: {"error":{"message":"Model claude-3-sonnet is not available","code":404},"user_id":"user_2fAwa46HBIavZhQU9M1iKnD7a6d"}. Please try again later.
Error connecting to the API. Please check your API key/endpoint and try again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions