continue icon indicating copy to clipboard operation
continue copied to clipboard

Custom API configuration with DeepSeek v3 model causes error in autocomplete feature

Open grassfish1122 opened this issue 9 months ago • 5 comments

Before submitting your bug report

Relevant environment info

- OS:
- Continue version:
- IDE version:
- Model:
- config:
  
name: Local Assistant
version: 1.0.0
schema: v1
models:
  - name: DeepSeek-V3-250324
    provider: deepseek
    apiKey: xxx
    apiBase: https://ark.cn-beijing.volces.com/api/v3
    model: ep-20250326174349-z9bgg
    roles:
      - chat
      - edit
      - apply
      - summarize
      - autocomplete
context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase
  
  OR link to assistant in Continue hub:

Description

When using a custom API configuration with the DeepSeek v3 model, while standard chat functionality works successfully, an error prompt appears when attempting to use the autocomplete feature.

To reproduce

Image

Log output

{"error":{"message":"Authentication Fails (no such user)","type":"authentication_error","param":null,"code":"invalid_request_error"}}

grassfish1122 avatar Mar 27 '25 09:03 grassfish1122

it changes to

Image

but chat still works successfully

grassfish1122 avatar Apr 02 '25 13:04 grassfish1122

m

yuwenlong avatar Apr 11 '25 03:04 yuwenlong

@tomasz-stefaniak When can it be fixed?

yuwenlong avatar Apr 14 '25 03:04 yuwenlong

Image

😅

rfyiamcool avatar Apr 25 '25 10:04 rfyiamcool

Hi all, apologies for the delay in triaging this. We'll look into it this week 👍

Patrick-Erichsen avatar Apr 28 '25 02:04 Patrick-Erichsen

@Patrick-Erichsen It's been a month. Have there been any results?

yuwenlong avatar Jun 06 '25 02:06 yuwenlong

Hey @yuwenlong thanks for the bump here, didn't get around to looking into this more. Are there any additional logs you can share from the Continue Console?

Pulling @jpoly1219 in here as well

Patrick-Erichsen avatar Jun 10 '25 18:06 Patrick-Erichsen

Thank you for your patience. As a sanity check, can you check if the individual requests to the Deepseek chat and autocomplete endpoints are working? You could use a tool like curl or postman to check this. Could you also attach screenshots/details when you do so?

Also like Patrick mentioned above, additional logs from the Continue Console would be immensely helpful. For this you can Ctrl+Shift+P inside vscode, then type "continue console", and click on the item that says "Continue Console: Focus on Continue Console View".

Much appreciated 🙏

jpoly1219 avatar Jun 11 '25 00:06 jpoly1219

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Sep 09 '25 02:09 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Sep 20 '25 02:09 github-actions[bot]