Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/user-guide/backend/llm.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,14 @@ zhipu_llm:
temperature: 1.0 # 温度,介于 0 到 2 之间
```

### DeepSeek API (`deepseek`)
前往 [DeepSeek](#deepseek-api-deepseek) 获取 API key
### DeepSeek API (`deepseek_llm`)
前往 [DeepSeek 平台](https://platform.deepseek.com/) 获取 API key

```yaml
zhipu_llm:
llm_api_key: "Your ZhiPu AI API key" # 智谱 AI API 密钥
model: "glm-4-flash" # 使用的模型
temperature: 1.0 # 温度,介于 0 到 2 之间
deepseek_llm:
llm_api_key: 'Your DeepSeek API key' # DeepSeek API 密钥
model: 'deepseek-v4-flash' # 使用的模型(自2026/7/24起,模型更名为‘deepseek-v4-flash’和‘deepseek-v4-pro’)
temperature: 0.7 # 注意,DeepSeek 的温度范围是 0 到 1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Use DeepSeek’s actual temperature range in both guides.

The DeepSeek API supports temperature from 0 to 2, so both examples should document 0 to 2 rather than 0 to 1. (api-docs.deepseek.com)

  • docs/user-guide/backend/llm.md#L160-L160: change the Chinese temperature guidance to 0 到 2.
  • i18n/en/docusaurus-plugin-content-docs/current/user-guide/backend/llm.md#L156-L156: change the English temperature guidance to 0 to 2.
📍 Affects 2 files
  • docs/user-guide/backend/llm.md#L160-L160 (this comment)
  • i18n/en/docusaurus-plugin-content-docs/current/user-guide/backend/llm.md#L156-L156
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/user-guide/backend/llm.md` at line 160, Update the DeepSeek temperature
guidance in docs/user-guide/backend/llm.md at lines 160-160 from 0 到 1 to 0 到 2,
and in i18n/en/docusaurus-plugin-content-docs/current/user-guide/backend/llm.md
at lines 156-156 from 0 to 1 to 0 to 2.

Source: MCP tools

```

### Mistral API (`mistral_llm`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,14 @@ zhipu_llm:
temperature: 1.0 # Temperature, between 0 and 2
```

### DeepSeek API (`deepseek`)
Go to [DeepSeek](#deepseek-api-deepseek) to obtain an API key.
### DeepSeek API (`deepseek_llm`)
Go to [DeepSeek Platform](https://platform.deepseek.com/) to obtain an API key.

```yaml
zhipu_llm:
llm_api_key: "Your ZhiPu AI API key" # Zhipu AI API key
model: "glm-4-flash" # Model to use
temperature: 1.0 # Temperature, between 0 and 2
deepseek_llm:
llm_api_key: 'Your DeepSeek API key'
model: 'deepseek-v4-flash' # (Starting from 2026/7/24, model names are changed into 'deepseek-v4-flash' and 'deepseek-v4-pro')
temperature: 0.7 # note that DeepSeek's temperature ranges from 0 to 1
```

### Mistral API (`mistral_llm`)
Expand Down