continue icon indicating copy to clipboard operation
continue copied to clipboard

Right click actions not work for custom LLM

Open vincent2012yang opened this issue 4 months ago • 0 comments

Before submitting your bug report

Relevant environment info

- OS: Windows11
- Continue version:1.0.13
- IDE version: VSCode 1.101.0
- Model:qwq-32b
- config:
  
name: Local Assistant
version: 1.0.0
schema: v1
models:
  - name: qwq-32b
    provider: openai
    apiBase: https://dashscope.aliyuncs.com/compatible-mode/v1
    apiKey: xxxxxx
    model: qwq-32b
    roles:
      - chat
      - edit
      - apply
  - name: qwen2.5-coder-32b-instruct
    provider: openai
    apiBase: https://dashscope.aliyuncs.com/compatible-mode/v1
    apiKey: xxxxxx
    model: qwen2.5-coder-32b-instruct
    roles:
      - autocomplete
  - name: Nomic Embed
    provider: ollama
    model: nomic-embed-text:latest
    roles:
      - embed
  - name: Autodetect
    provider: ollama
    model: AUTODETECT
context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase
  
  OR link to assistant in Continue hub:

Description

When I use a OpenAI-Compatible LLM, I configured apiBase and apiKey correctly, and can chat with LLM in Continue. But I can't use Right click actions such as "Optimize this Code", I opened Continue console, sawthe error message as below: ErrorHTTP 404 Not Found from https://dashscope.aliyuncs.com/compatible-mode/v1/completions {"error":{"code":"","param":null,"message":"Invalid URL (POST /compatible-api/v1/completions)","type":"invalid_request_error"},"request_id":"605ff9cc-f363-9519-9b39-51823f60698a"}

Is there anything wrong in my config? Or Right click actions not work for custom LLM?

To reproduce

No response

Log output

ErrorHTTP 404 Not Found from https://dashscope.aliyuncs.com/compatible-mode/v1/completions {"error":{"code":"","param":null,"message":"Invalid URL (POST /compatible-api/v1/completions)","type":"invalid_request_error"},"request_id":"605ff9cc-f363-9519-9b39-51823f60698a"}

vincent2012yang avatar Jun 16 '25 12:06 vincent2012yang