Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown model connecting with openrouter claude-3.5-sonnet #721

Closed
yxd0018 opened this issue Jun 25, 2024 · 4 comments
Closed

unknown model connecting with openrouter claude-3.5-sonnet #721

yxd0018 opened this issue Jun 25, 2024 · 4 comments
Labels
question Further information is requested

Comments

@yxd0018
Copy link

yxd0018 commented Jun 25, 2024

Issue

aider --model openrouter/anthropic/claude-3.5-sonnet
Model openrouter/anthropic/claude-3.5-sonnet: Unknown model, context window size and token costs unavailable.

Did you mean one of these?

Version and model info

Aider v0.40.0

@paul-gauthier
Copy link
Owner

Thanks for trying aider and filing this issue.

The model to use is openrouter/anthropic/claude-3-5-sonnet with a 3-5 not 3.5.

@paul-gauthier paul-gauthier added the question Further information is requested label Jun 25, 2024
@paul-gauthier
Copy link
Owner

Sorry, you were correct. It should be openrouter/anthropic/claude-3.5-sonnet with a 3.5.

You can ignore the warning, which is what the URL it provides indicates. It's just a warning.

@paul-gauthier
Copy link
Owner

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

@ErykCh
Copy link

ErykCh commented Jun 28, 2024

Error is here:

ModelSettings(
    "openrouter/anthropic/claude-3.5-sonnet",
    "diff",
    weak_model_name="openrouter/anthropic/claude-3-haiku-20240307",
    use_repo_map=True,
    examples_as_sys_msg=True,
    can_prefill=True,
),

should be

ModelSettings(
    "openrouter/anthropic/claude-3.5-sonnet",
    "diff",
    weak_model_name="openrouter/anthropic/claude-3-haiku",
    use_repo_map=True,
    examples_as_sys_msg=True,
    can_prefill=True,
),

It's strange that there is no error during operation, because there is no such model as claude-3-haiku-20240307 in Open Router, unless in this case summaries and commit texts are made via Sonnet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants