JoySafeter icon indicating copy to clipboard operation
JoySafeter copied to clipboard

[BUG] 我想请问下作者有尝试过配置DeepSeek官方API吗?

Open pbuff07 opened this issue 9 months ago • 4 comments

Describe the bug

我想请问下作者有尝试过配置DeepSeek官方API吗?

默认模型名称代码中都是写的DeepSeek-V3.2。但是官方只支持在model参数位置传递deepseek-chat或者deepseek-reasoner,他们都是指的是DeepSeek-V3.2。如果没有用网关之类的,直接配置DeepSeek的API-KEY和base_url应该跑不起来吧?

代码中的配置: Image

Image

DeepSeek官方配置: Image

默认配置DeepSeek的API可以base_url的错误截图:

Image

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • OS: [e.g., macOS 14.0, Ubuntu 22.04]
  • Browser: [e.g., Chrome 120, Safari 17]
  • Python version: [e.g., 3.12.1]
  • Node.js version: [e.g., 20.10.0]
  • Project version: [e.g., 0.1.0]

Additional context

Add any other context about the problem here.

Logs

Paste any relevant log output here

pbuff07 avatar Feb 26 '26 08:02 pbuff07

下周, 新增支持 Deepseek 提供商

yuzzjj avatar Feb 28 '26 12:02 yuzzjj

也可以模拟, 新加的智普供应商方式去 定制化 Deepseek

yuzzjj avatar Feb 28 '26 12:02 yuzzjj

根据Providers里的文档自己配一个(url,model名符合的)再重新构建一下后端好像就可以

Yuuk111 avatar Mar 03 '26 08:03 Yuuk111

@Yuuk111 欢迎提交PR

yuzzjj avatar Mar 13 '26 07:03 yuzzjj