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:
chengyongru authored and GitHub committed 2026-09-24 18:26:03 +08:00
1 parent fdee134afb
commit eb3fc07087
17 files changed
+135 -49

No files matched your search

+2
View File
@@ -581,6 +581,8 @@
"presetNamePlaceholder": "예: 빠른 작성",
"advancedOptions": "고급 옵션",
"advancedSummary": "컨텍스트 {{context}} · 최대 {{max}} 토큰",
"contextWindowHint": "{{tokens}} 토큰",
"contextWindowError": "200k, 1m, 131072처럼 양수 토큰 수를 입력하세요.",
"maxTokens": "최대 출력 토큰",
"temperature": "온도",
"reasoningEffort": "추론 강도",