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

Openrouter using DeepSeek: No endpoints found for this model.' #2444

Open
jcald1 opened this issue Nov 24, 2024 · 5 comments
Open

Openrouter using DeepSeek: No endpoints found for this model.' #2444

jcald1 opened this issue Nov 24, 2024 · 5 comments

Comments

@jcald1
Copy link

jcald1 commented Nov 24, 2024

Issue

When using aider with deepseek, I'm getting the following error. It works in the Openrouter Web UI.

litellm.NotFoundError: NotFoundError: OpenrouterException - Error code: 404 - 
{'error': {'message': 'No endpoints found for this model.', 'code': 404}}

Version and model info

aider 0.64.1
aider --model openrouter/deepseek/deepseek-coder
Linux Mint 21.3 Virginia

@shamanicvocalarts
Copy link

seconding this issue. your openrouter endpoints are out of date and need to be updated. the correct endpoint for the deepseek model is openrouter/deepseek/deepseek-chat. chat is the latest & best at coding model from deepseek. changing to openrouter/deepseek/deepseek-chat works fine but doesnt give token cost predicitions and defaults to sane usage. please update documentation & backend to use the correct deepseek model

@paul-gauthier
Copy link
Collaborator

Thanks for trying aider and filing this issue.

It looks like @jcald1 ran aider with --model openrouter/deepseek/deepseek-coder which not the correct model name.

To use Deepseek V2.5 with OpenRouter you should do --model openrouter/deepseek/deepseek-chat

@shamanicvocalarts
Copy link

Thanks for trying aider and filing this issue.

It looks like @jcald1 ran aider with --model openrouter/deepseek/deepseek-coder which not the correct model name.

To use Deepseek V2.5 with OpenRouter you should do --model openrouter/deepseek/deepseek-chat

this is correct @paul-gauthier , however it should be noted that aiders documentation & its interactive shell tell users to use --model openrouter/deepseek/deepseek-coder so this should be corrected in aider to prevent user error

@paul-gauthier
Copy link
Collaborator

Sorry, can you show me where in the docs you see the incorrect model name? And can you show me how the interactive shell shows it?

@shamanicvocalarts
Copy link

image

─────────────────────────────────────────

/models openrouter/deep

Models which match "openrouter/deep":

  • openrouter/deepseek/deepseek-coder
    ─────────────────────────────────────────

and to be clear, it would have been more accurate of me to say in the interactive documentation, IE what aider shows you with /models or when looking through aiders code. in the actual documentation it just says any openrouter provided model& doesnt specify an incorrect deepseek address

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

No branches or pull requests

3 participants