feat(models): declare request APIs per preset
Bind API support and preference to the preset's provider and model. Carry the API declaration through factory selection, fallback chains, hot reload and WebUI persistence. Use Copilot endpoint metadata for automatic routing and keep reasoning replay and compaction defaults in provider capability profiles. Consolidate Responses follow-ups from #5906, #5935, #6020, #6051 and #5834; acknowledge equivalent contributions in #6105 and #5863. Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com> Co-authored-by: Lanre Shittu <136805224+Shizoqua@users.noreply.github.com> Co-authored-by: kkkhoo <128304090+kkkhoo@users.noreply.github.com> Co-authored-by: pei711 <199601925+pei711@users.noreply.github.com> Co-authored-by: Steven Huang <134844631+remote-controlled-man@users.noreply.github.com> Co-authored-by: Louis Yue <179701714+selfucker@users.noreply.github.com> Co-authored-by: iuiuiu <92971770+iuiu-py@users.noreply.github.com>
This commit is contained in:
1 parent
3c866d63ac
commit
b5808e47de
23 files changed
+738
-63
No files matched your search
@@ -717,6 +717,11 @@
|
||||
"presetNameDuplicate": "A preset with this name already exists.",
|
||||
"presetNamePlaceholder": "e.g. Fast writing",
|
||||
"advancedOptions": "Advanced options",
|
||||
"requestAPI": "Request API",
|
||||
"requestAPIHelp": "Applies to this preset. Select Responses for gateways that require it; allow Chat fallback only when the model supports both APIs.",
|
||||
"apiAuto": "Automatic",
|
||||
"apiPreferResponses": "Responses with Chat fallback",
|
||||
"apiPreferChat": "Chat preferred (both APIs)",
|
||||
"contextSummary": "Context {{context}}",
|
||||
"outputSummary": "Max {{max}} tokens",
|
||||
"contextWindowHint": "{{tokens}} tokens",
|
||||
|
||||
@@ -717,6 +717,11 @@
|
||||
"presetNameDuplicate": "已存在同名预设。",
|
||||
"presetNamePlaceholder": "例如:快速写作",
|
||||
"advancedOptions": "高级选项",
|
||||
"requestAPI": "请求 API",
|
||||
"requestAPIHelp": "仅用于此预设。网关要求 Responses 时可在这里选择;只有模型支持两种 API 时才允许回退到 Chat。",
|
||||
"apiAuto": "自动",
|
||||
"apiPreferResponses": "Responses(可回退 Chat)",
|
||||
"apiPreferChat": "优先 Chat(支持两种 API)",
|
||||
"contextSummary": "上下文 {{context}}",
|
||||
"outputSummary": "输出上限 {{max}} Token",
|
||||
"contextWindowHint": "{{tokens}} Token",
|
||||
|
||||
Reference in new issue
Block a user