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": "e.g. Fast writing",
|
||||
"advancedOptions": "Advanced options",
|
||||
"advancedSummary": "Context {{context}} · Max {{max}} tokens",
|
||||
"contextWindowHint": "{{tokens}} tokens",
|
||||
"contextWindowError": "Enter a positive token count, such as 200k, 1m, or 131072.",
|
||||
"maxTokens": "Max output tokens",
|
||||
"temperature": "Temperature",
|
||||
"reasoningEffort": "Reasoning effort",
|
||||
|
||||
@@ -581,6 +581,8 @@
|
||||
"presetNamePlaceholder": "p. ej., Escritura rápida",
|
||||
"advancedOptions": "Opciones avanzadas",
|
||||
"advancedSummary": "Contexto {{context}} · Máx. {{max}} tokens",
|
||||
"contextWindowHint": "{{tokens}} tokens",
|
||||
"contextWindowError": "Introduce una cantidad positiva de tokens, como 200k, 1m o 131072.",
|
||||
"maxTokens": "Máx. tokens de salida",
|
||||
"temperature": "Temperatura",
|
||||
"reasoningEffort": "Esfuerzo de razonamiento",
|
||||
|
||||
@@ -581,6 +581,8 @@
|
||||
"presetNamePlaceholder": "p. ex. Rédaction rapide",
|
||||
"advancedOptions": "Options avancées",
|
||||
"advancedSummary": "Contexte {{context}} · Max. {{max}} tokens",
|
||||
"contextWindowHint": "{{tokens}} tokens",
|
||||
"contextWindowError": "Saisissez un nombre positif de tokens, par exemple 200k, 1m ou 131072.",
|
||||
"maxTokens": "Tokens de sortie max.",
|
||||
"temperature": "Température",
|
||||
"reasoningEffort": "Effort de raisonnement",
|
||||
|
||||
@@ -581,6 +581,8 @@
|
||||
"presetNamePlaceholder": "mis. Menulis cepat",
|
||||
"advancedOptions": "Opsi lanjutan",
|
||||
"advancedSummary": "Konteks {{context}} · Maks. {{max}} token",
|
||||
"contextWindowHint": "{{tokens}} token",
|
||||
"contextWindowError": "Masukkan jumlah token positif, seperti 200k, 1m, atau 131072.",
|
||||
"maxTokens": "Maks. token keluaran",
|
||||
"temperature": "Temperatur",
|
||||
"reasoningEffort": "Upaya penalaran",
|
||||
|
||||
@@ -581,6 +581,8 @@
|
||||
"presetNamePlaceholder": "例:文章作成用",
|
||||
"advancedOptions": "詳細オプション",
|
||||
"advancedSummary": "コンテキスト {{context}} · 最大 {{max}} トークン",
|
||||
"contextWindowHint": "{{tokens}} トークン",
|
||||
"contextWindowError": "200k、1m、131072 など、正のトークン数を入力してください。",
|
||||
"maxTokens": "最大出力トークン",
|
||||
"temperature": "温度",
|
||||
"reasoningEffort": "推論の強度",
|
||||
|
||||
@@ -581,6 +581,8 @@
|
||||
"presetNamePlaceholder": "예: 빠른 작성",
|
||||
"advancedOptions": "고급 옵션",
|
||||
"advancedSummary": "컨텍스트 {{context}} · 최대 {{max}} 토큰",
|
||||
"contextWindowHint": "{{tokens}} 토큰",
|
||||
"contextWindowError": "200k, 1m, 131072처럼 양수 토큰 수를 입력하세요.",
|
||||
"maxTokens": "최대 출력 토큰",
|
||||
"temperature": "온도",
|
||||
"reasoningEffort": "추론 강도",
|
||||
|
||||
@@ -279,6 +279,8 @@
|
||||
"presetNamePlaceholder": "ex.: Escrita rápida",
|
||||
"advancedOptions": "Opções avançadas",
|
||||
"advancedSummary": "Contexto {{context}} · Máx. {{max}} tokens",
|
||||
"contextWindowHint": "{{tokens}} tokens",
|
||||
"contextWindowError": "Insira uma quantidade positiva de tokens, como 200k, 1m ou 131072.",
|
||||
"maxTokens": "Máx. de tokens de saída",
|
||||
"temperature": "Temperatura",
|
||||
"reasoningEffort": "Esforço de raciocínio",
|
||||
|
||||
@@ -581,6 +581,8 @@
|
||||
"presetNamePlaceholder": "ví dụ: Viết nhanh",
|
||||
"advancedOptions": "Tùy chọn nâng cao",
|
||||
"advancedSummary": "Ngữ cảnh {{context}} · Tối đa {{max}} token",
|
||||
"contextWindowHint": "{{tokens}} token",
|
||||
"contextWindowError": "Nhập số lượng token dương, chẳng hạn 200k, 1m hoặc 131072.",
|
||||
"maxTokens": "Token đầu ra tối đa",
|
||||
"temperature": "Nhiệt độ",
|
||||
"reasoningEffort": "Mức suy luận",
|
||||
|
||||
@@ -465,6 +465,8 @@
|
||||
"presetNamePlaceholder": "例如:快速写作",
|
||||
"advancedOptions": "高级选项",
|
||||
"advancedSummary": "上下文 {{context}} · 输出上限 {{max}} Token",
|
||||
"contextWindowHint": "{{tokens}} Token",
|
||||
"contextWindowError": "请输入正数 Token 数量,例如 200k、1m 或 131072。",
|
||||
"maxTokens": "输出 Token 上限",
|
||||
"temperature": "温度",
|
||||
"reasoningEffort": "推理强度",
|
||||
|
||||
@@ -581,6 +581,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