优化: 供应商级采样温度覆盖配置

受限模型(经路由透传)仅接受特定 temperature 其它值 400;
provider config JSON 带 temperature 字段则覆盖默认,未配置走 0.7,设置页可编辑。
This commit is contained in:
lxy
2026-09-29 13:33:49 +08:00
parent 7cb32d1380
commit 378c363632
5 changed files with 155 additions and 17 deletions
+2
View File
@@ -49,6 +49,8 @@ export default {
labelBaseUrl: 'Base URL',
labelApiKey: 'API Key',
labelDefaultModel: '默认模型',
labelSamplingTemp: '采样温度',
phSamplingTemp: '默认 0.7',
phProviderName: '如 DeepSeek、GLM-4',
phBaseUrl: 'https://api.deepseek.com',
phApiKey: 'sk-...',