continuedev / continuedev/continue
Autocomplete error with OpenRouter
Open
@RomneyDa is already working on this.
Since Jan 8, 2025.
area:autocomplete
ide:vscode
kind:bug
needs-triage
os:mac
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Before submitting your bug report
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.