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

Autocomplete error with OpenRouter #3648

Open
3 tasks
SkyTik opened this issue Jan 8, 2025 · 1 comment
Open
3 tasks

Autocomplete error with OpenRouter #3648

SkyTik opened this issue Jan 8, 2025 · 1 comment
Assignees
Labels
area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@SkyTik
Copy link

SkyTik commented Jan 8, 2025

Before submitting your bug report

Relevant environment info

- OS: MacOS 
- Continue version: 0.8.66
- IDE version: VsCode 1.96.2 (Universal)
- Model:deepseek/deepseek-chat
- config.json:

Description

I got this error when setup TabAutocompleteModel using OpenRouter

HTTP 400 Bad Request from https://openrouter.ai/api/v1/completions {"error":{"message":"Input required: specify "prompt"","code":400},"user_id":"user_2qHL97rYiokWtaA9iIesnFMgVkQ"}

Here is my settings:

{
        "title": "DeepSeek",
        "provider": "openrouter",
        "model": "deepseek/deepseek-chat",
        "apiKey": "",
        "apiBase": "https://openrouter.ai/api/v1",
        "contextLength": 2048
}

To reproduce

No response

Log output

No response

@SkyTik SkyTik changed the title Autocomplete errro with OpenRouter Autocomplete error with OpenRouter Jan 8, 2025
@dosubot dosubot bot added area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior labels Jan 8, 2025
@SkyTik
Copy link
Author

SkyTik commented Jan 8, 2025

Also, I tried with "qwen/qwen-2.5-coder-32b-instruct", there is no error but TabAutocomplete does not work, here is log:

Screenshot 2025-01-08 at 11 23 28

With Codestral, there is a lot of information like SuffFix Prefix and TabAutocomplete work as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants