fix: 模型级强制参数(kimi-k2.7-code 锁 temperature=1)+ 测速超时/错误文案
- config: ModelInfo.params + MODEL_PARAM_KEYS 白名单 + _parse_model_params(写错即 ConfigError) - adapters: _forced_params 在 payload 组装后强制覆盖;_learn_from_upstream_error 按上游 400 要求修正并重发一次(非原样重试);流式已吐内容则不重发 - main: /v1/models 暴露 params;探针超时 15s→30s;_speedtest_error_text 说清超时/上游原文 - settings: 面板保存保留手写 models[].params(原先会被静默清掉) - gateway.yaml: kimi-k2.7-code params.temperature=1 - 前端: Models 挂锁+参数固定标签;Chat 温度 chip 挂锁+抽屉提示;新增 lock 图标;中英对称 - tests: +10 → 168 passed / 0 failed
This commit is contained in:
1 parent
43a4f8613b
commit
840c5c83aa
14 files changed
+631
-13
No files matched your search
@@ -66,6 +66,8 @@ const ICONS: Record<string, string> = {
|
||||
inbox: '<path d="M3.4 11.6 6 4.6h8l2.6 7v4.8H3.4z"/><path d="M3.4 11.6h3.2l.9 1.8h5l.9-1.8h3.2"/>',
|
||||
// 第二十四轮:账号停用(禁用符号「圆 + 斜杠」),启用配已有的 play(圆 + 三角)
|
||||
ban: '<circle cx="10" cy="10" r="7"/><path d="M5.1 5.1l9.8 9.8"/>',
|
||||
// 第二十五轮:模型参数被上游固定(挂锁 = 这参数你说了不算,由网关按上游要求锁定)
|
||||
lock: '<rect x="4.6" y="9" width="10.8" height="7.2" rx="2"/><path d="M7 9V6.8a3 3 0 0 1 6 0V9"/>',
|
||||
}
|
||||
|
||||
const body = computed(() => ICONS[props.name] || '')
|
||||
|
||||
Reference in new issue
Block a user