fix(llm): 允许温度留空以省略不兼容的请求参数 (#6865)

This commit is contained in:
ChantXu64
2026-10-03 19:55:43 +08:00
committed by GitHub
parent 3c8cc791be
commit 3c56f0bfdc
8 changed files with 201 additions and 13 deletions

View File

@@ -293,6 +293,11 @@ moviepilot setup --config-dir /path/to/moviepilot-config
- 媒体服务器
- 消息通知渠道
`LLM_TEMPERATURE` 为可选配置,默认留空。设置页留空或清空配置后,LLM 请求不发送
`temperature`,使用模型服务默认值;Google 原生运行时使用 SDK 的模型默认温度。
显式填写 `0`、`1` 等数值仍按填写值发送。
清空后保存、重新进入设置页及重启均保留这一语义。
如果希望在自动化安装时直接预设超级管理员,也可以在一键安装脚本中透传:
```shell