docs(deepseek): update config guides for independent DeepSeek module

Update DeepSeek docs (zh/en/ja) and README to reflect the new dedicated deepseek_api_key / deepseek_api_base config fields, with backward compatibility notes.

Made-with: Cursor
This commit is contained in:
6vision
2026-03-23 21:43:51 +08:00
parent f512b55ec2
commit ef009edd29
4 changed files with 77 additions and 28 deletions

View File

@@ -3,20 +3,32 @@ title: DeepSeek
description: DeepSeek 模型配置
---
通过 OpenAI 兼容方式接入
方式一:官方接入(推荐)
```json
{
"model": "deepseek-chat",
"open_ai_api_key": "YOUR_API_KEY",
"open_ai_api_base": "https://api.deepseek.com/v1",
"bot_type": "openai"
"deepseek_api_key": "YOUR_API_KEY"
}
```
| 参数 | 说明 |
| --- | --- |
| `model` | `deepseek-chat`DeepSeek-V3、`deepseek-reasoner`DeepSeek-R1 |
| `bot_type` | 固定为 `openai`OpenAI 兼容方式) |
| `open_ai_api_key` | 在 [DeepSeek 平台](https://platform.deepseek.com/api_keys) 创建 |
| `open_ai_api_base` | DeepSeek 平台 BASE URL |
| `deepseek_api_key` | 在 [DeepSeek 平台](https://platform.deepseek.com/api_keys) 创建 |
| `deepseek_api_base` | 可选,默认为 `https://api.deepseek.com/v1`,可修改为第三方代理地址 |
方式二OpenAI 兼容方式接入:
```json
{
"model": "deepseek-chat",
"bot_type": "openai",
"open_ai_api_key": "YOUR_API_KEY",
"open_ai_api_base": "https://api.deepseek.com/v1"
}
```
<Note>
已有用户如果之前通过 `open_ai_api_key` / `open_ai_api_base` 配置 DeepSeek无需修改程序会自动兼容。推荐新用户使用方式一的独立配置避免与 OpenAI 配置冲突。
</Note>