mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
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
35 lines
1003 B
Plaintext
35 lines
1003 B
Plaintext
---
|
|
title: DeepSeek
|
|
description: DeepSeek model configuration
|
|
---
|
|
|
|
Option 1: Native integration (recommended):
|
|
|
|
```json
|
|
{
|
|
"model": "deepseek-chat",
|
|
"deepseek_api_key": "YOUR_API_KEY"
|
|
}
|
|
```
|
|
|
|
| Parameter | Description |
|
|
| --- | --- |
|
|
| `model` | `deepseek-chat` (DeepSeek-V3), `deepseek-reasoner` (DeepSeek-R1) |
|
|
| `deepseek_api_key` | Create at [DeepSeek Platform](https://platform.deepseek.com/api_keys) |
|
|
| `deepseek_api_base` | Optional, defaults to `https://api.deepseek.com/v1`. Can be changed to a third-party proxy |
|
|
|
|
Option 2: OpenAI-compatible configuration:
|
|
|
|
```json
|
|
{
|
|
"model": "deepseek-chat",
|
|
"bot_type": "openai",
|
|
"open_ai_api_key": "YOUR_API_KEY",
|
|
"open_ai_api_base": "https://api.deepseek.com/v1"
|
|
}
|
|
```
|
|
|
|
<Note>
|
|
Existing users who configured DeepSeek via `open_ai_api_key` / `open_ai_api_base` do not need to change anything — the program will automatically fall back to those fields. New users are recommended to use Option 1 to avoid config conflicts with OpenAI.
|
|
</Note>
|