fix(webui): allow custom context window token budgets (#5901)
* fix(webui): allow custom context window token budgets * fix(i18n): translate context window hints in all locales * fix(webui): accept context window K and M shorthand * fix(webui): shorten context window hints * refactor(webui): simplify context window validation
This commit is contained in:
1 parent
fdee134afb
commit
eb3fc07087
17 files changed
+135
-49
No files matched your search
@@ -465,6 +465,8 @@
|
||||
"presetNamePlaceholder": "例如:快速写作",
|
||||
"advancedOptions": "高级选项",
|
||||
"advancedSummary": "上下文 {{context}} · 输出上限 {{max}} Token",
|
||||
"contextWindowHint": "{{tokens}} Token",
|
||||
"contextWindowError": "请输入正数 Token 数量,例如 200k、1m 或 131072。",
|
||||
"maxTokens": "输出 Token 上限",
|
||||
"temperature": "温度",
|
||||
"reasoningEffort": "推理强度",
|
||||
|
||||
Reference in new issue
Block a user