JoySafeter
JoySafeter copied to clipboard
[BUG] 我想请问下作者有尝试过配置DeepSeek官方API吗?
Describe the bug
我想请问下作者有尝试过配置DeepSeek官方API吗?
默认模型名称代码中都是写的DeepSeek-V3.2。但是官方只支持在model参数位置传递deepseek-chat或者deepseek-reasoner,他们都是指的是DeepSeek-V3.2。如果没有用网关之类的,直接配置DeepSeek的API-KEY和base_url应该跑不起来吧?
代码中的配置:
DeepSeek官方配置:
默认配置DeepSeek的API可以base_url的错误截图:
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '...'
- Scroll down to '...'
- 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
下周, 新增支持 Deepseek 提供商
也可以模拟, 新加的智普供应商方式去 定制化 Deepseek
根据Providers里的文档自己配一个(url,model名符合的)再重新构建一下后端好像就可以
@Yuuk111 欢迎提交PR