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
e4065d31c3
commit
4507dc4b8e
14 files changed
+631
-13
No files matched your search
@@ -254,6 +254,7 @@ export default {
|
||||
imgMax: 'At most {n} images per message',
|
||||
imgPickErr: 'Image processing failed: {msg}',
|
||||
visionWarn: 'Model {model} does not accept image input — images will be ignored or rejected. Switch to a vision-capable model.',
|
||||
paramLocked: 'Parameters pinned by the gateway: {p} (upstream hard limit; what you set here is overridden before sending)',
|
||||
useVision: 'Switch to {model}',
|
||||
waiting: 'Awaiting input…',
|
||||
send: 'Send',
|
||||
@@ -384,6 +385,8 @@ export default {
|
||||
loadErr: 'Failed to load models',
|
||||
capability: 'Capability',
|
||||
visionTag: 'Vision',
|
||||
paramTag: 'Params locked',
|
||||
paramLocked: 'Parameters pinned by the gateway: {p} (upstream hard limit; values from clients and the speed test are overridden)',
|
||||
allTextModels: 'All text models',
|
||||
providerCard: 'Providers',
|
||||
keyOk: 'Key configured',
|
||||
|
||||
Reference in new issue
Block a user