waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Bug]: Preset error when using DeepSeek with openai apitype

Open shellkr opened this issue 7 months ago • 1 comments

Current Behavior

When I add my preset it gives me an error.

My preset looks like this:

  "ai@deepseek-chat": {
    "display:name": "DeepSeek Chat",
    "display:order": 1,
    "ai:*": true,
    "ai:baseurl": "https://api.deepseek.com/v1",
    "ai:apitype": "openai",
    "ai:model": "deepseek-chat",
    "ai:apitoken": "<api-token>"
  }

The error: Image

Expected Behavior

As I understand Waveterm should be compatible with OpenAI but still get this error.

Steps To Reproduce

  1. Add the preset above
  2. Test the AI by selecting DeepSeek-chat in scroll-down menu
  3. Get the above error

Wave Version

0.11.3

Platform

Linux

OS Version/Distribution

Arch Linux

Architecture

x64

shellkr avatar Jul 30 '25 19:07 shellkr

beta版本已经支持 { "ai@glm": { "display:name": "glm-4.5", "display:order": 1, "ai:*": true, "ai:baseurl": "https://open.bigmodel.cn/api/paas/v4", "ai:model": "glm-4.5", "ai:apitoken": "" } }

lotricLohale avatar Sep 03 '25 03:09 lotricLohale