continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
16.44k stars 1.28k forks source link

Error message of using “write comments for this code” #2368

Open Ray-Huang-9730 opened 4 days ago

Ray-Huang-9730 commented 4 days ago

Before submitting your bug report

Relevant environment info

- OS:Windows 11
- Continue:V 0.8.52
- IDE:VSCODE v1.93.1
- Model: qwen-max
- config.json:

 "models": [
    {
      "title": "qwen-max",
      "apiBase": "https://dashscope.aliyuncs.com/compatible-mode/v1",
      "provider": "openai",
      "model": "qwen-max",
      "apiKey": "**************",
      "systemMessage": " "
    }
  ],

Description

using right click menu of continue:write comments for this code,then get the error message below:

Error streaming diff: Error: HTTP 404 Not Found from https://dashscope.aliyuncs.com/compatible-mode/v1/completions

To reproduce

  1. highlight code
  2. right click,then choose continue
  3. click “write comments for this code”

Log output

No response