Update model_configuration_guide.md

pull/1251/head
foxplaying 2025-09-23 17:27:35 +08:00 committed by GitHub
parent a291651506
commit 30ef8dd81a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -131,9 +131,8 @@ enable_thinking = false # 禁用思考
[models.extra_params] [models.extra_params]
thinking = {type = "disabled"} # 禁用思考 thinking = {type = "disabled"} # 禁用思考
``` ```
请注意,`extra_params` 的配置应该构成一个合法的TOML字典结构具体内容取决于API服务商的要求。
对于`gemini`需要单独进行配置 对于`gemini`需要单独进行配置
```toml ```toml
[[models]] [[models]]
model_identifier = "gemini-2.5-flash" model_identifier = "gemini-2.5-flash"
@ -144,6 +143,8 @@ thinking_budget = 0 # 禁用思考
# thinking_budget = -1 由模型自己决定 # thinking_budget = -1 由模型自己决定
``` ```
请注意,`extra_params` 的配置应该构成一个合法的TOML字典结构具体内容取决于API服务商的要求。
### 3.3 配置参数说明 ### 3.3 配置参数说明
| 参数 | 必填 | 说明 | | 参数 | 必填 | 说明 |