Skip to content

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

@shellkr

Description

@shellkr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions