feat(webui): add context window setting

This commit is contained in:
Xubin Ren
2026-05-29 13:09:08 +08:00
parent 3a420136bb
commit 404b68cdd4
17 changed files with 280 additions and 64 deletions
+4 -2
View File
@@ -146,7 +146,8 @@
"cliAppsFilter": "Filter",
"engine": "Engine",
"logs": "Logs",
"diagnostics": "Diagnostics"
"diagnostics": "Diagnostics",
"contextWindow": "Context window"
},
"help": {
"theme": "Switch between light and dark appearance.",
@@ -184,7 +185,8 @@
"logs": "Open the native engine log folder.",
"diagnostics": "Export a small runtime report for support.",
"localServiceAccessNative": "Allow Full Access shell commands to reach services on this Mac.",
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission."
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission.",
"contextWindow": "Choose the default context budget for this model configuration."
},
"timezone": {
"select": "Select timezone",
+4 -2
View File
@@ -137,7 +137,8 @@
"cliAppsFilter": "Filtro de apps CLI",
"engine": "Motor",
"logs": "Registros",
"diagnostics": "Diagnóstico"
"diagnostics": "Diagnóstico",
"contextWindow": "Context window"
},
"help": {
"theme": "Cambia entre apariencia clara y oscura.",
@@ -175,7 +176,8 @@
"logs": "Abre la carpeta de registros del motor de escritorio.",
"diagnostics": "Exporta un pequeño informe de runtime para soporte.",
"localServiceAccessNative": "Allow Full Access shell commands to reach services on this Mac.",
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission."
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission.",
"contextWindow": "Choose the default context budget for this model configuration."
},
"values": {
"light": "Claro",
+4 -2
View File
@@ -137,7 +137,8 @@
"cliAppsFilter": "Filtre des apps CLI",
"engine": "Moteur",
"logs": "Journaux",
"diagnostics": "Diagnostics"
"diagnostics": "Diagnostics",
"contextWindow": "Context window"
},
"help": {
"theme": "Basculer entre les apparences claire et sombre.",
@@ -175,7 +176,8 @@
"logs": "Ouvrir le dossier des journaux du moteur natif.",
"diagnostics": "Exporter un petit rapport runtime pour le support.",
"localServiceAccessNative": "Allow Full Access shell commands to reach services on this Mac.",
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission."
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission.",
"contextWindow": "Choose the default context budget for this model configuration."
},
"values": {
"light": "Clair",
+4 -2
View File
@@ -137,7 +137,8 @@
"cliAppsFilter": "Filter aplikasi CLI",
"engine": "Engine",
"logs": "Log",
"diagnostics": "Diagnostik"
"diagnostics": "Diagnostik",
"contextWindow": "Context window"
},
"help": {
"theme": "Beralih antara tampilan terang dan gelap.",
@@ -175,7 +176,8 @@
"logs": "Buka folder log native engine.",
"diagnostics": "Ekspor laporan runtime kecil untuk dukungan.",
"localServiceAccessNative": "Allow Full Access shell commands to reach services on this Mac.",
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission."
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission.",
"contextWindow": "Choose the default context budget for this model configuration."
},
"values": {
"light": "Terang",
+4 -2
View File
@@ -137,7 +137,8 @@
"cliAppsFilter": "CLI アプリフィルター",
"engine": "エンジン",
"logs": "ログ",
"diagnostics": "診断"
"diagnostics": "診断",
"contextWindow": "Context window"
},
"help": {
"theme": "ライト表示とダーク表示を切り替えます。",
@@ -175,7 +176,8 @@
"logs": "Appエンジンのログフォルダを開きます。",
"diagnostics": "サポート用の小さなランタイムレポートを書き出します。",
"localServiceAccessNative": "Allow Full Access shell commands to reach services on this Mac.",
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission."
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission.",
"contextWindow": "Choose the default context budget for this model configuration."
},
"values": {
"light": "ライト",
+4 -2
View File
@@ -137,7 +137,8 @@
"cliAppsFilter": "CLI 앱 필터",
"engine": "엔진",
"logs": "로그",
"diagnostics": "진단"
"diagnostics": "진단",
"contextWindow": "Context window"
},
"help": {
"theme": "밝은 모드와 어두운 모드를 전환합니다.",
@@ -175,7 +176,8 @@
"logs": "App 엔진 로그 폴더를 엽니다.",
"diagnostics": "지원용 작은 런타임 보고서를 내보냅니다.",
"localServiceAccessNative": "Allow Full Access shell commands to reach services on this Mac.",
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission."
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission.",
"contextWindow": "Choose the default context budget for this model configuration."
},
"values": {
"light": "라이트",
+4 -2
View File
@@ -137,7 +137,8 @@
"cliAppsFilter": "Bộ lọc ứng dụng CLI",
"engine": "Engine",
"logs": "Nhật ký",
"diagnostics": "Chẩn đoán"
"diagnostics": "Chẩn đoán",
"contextWindow": "Context window"
},
"help": {
"theme": "Chuyển giữa giao diện sáng và tối.",
@@ -175,7 +176,8 @@
"logs": "Mở thư mục nhật ký native engine.",
"diagnostics": "Xuất báo cáo runtime nhỏ để hỗ trợ.",
"localServiceAccessNative": "Allow Full Access shell commands to reach services on this Mac.",
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission."
"webuiDefaultAccessNative": "Used by native chats without a project-specific permission.",
"contextWindow": "Choose the default context budget for this model configuration."
},
"values": {
"light": "Sáng",
+4 -2
View File
@@ -146,7 +146,8 @@
"cliAppsFilter": "筛选",
"engine": "引擎",
"logs": "日志",
"diagnostics": "诊断"
"diagnostics": "诊断",
"contextWindow": "上下文窗口"
},
"help": {
"theme": "在浅色和深色外观之间切换。",
@@ -184,7 +185,8 @@
"logs": "打开App引擎日志文件夹。",
"diagnostics": "导出一份用于支持排查的运行时报告。",
"localServiceAccessNative": "允许完全访问模式下的 shell 命令访问这台 Mac 上的服务。",
"webuiDefaultAccessNative": "用于没有单独选择权限的原生 App 对话。"
"webuiDefaultAccessNative": "用于没有单独选择权限的原生 App 对话。",
"contextWindow": "选择这个模型配置默认使用的上下文预算。"
},
"timezone": {
"select": "选择时区",
+4 -2
View File
@@ -137,7 +137,8 @@
"cliAppsFilter": "CLI 應用篩選",
"engine": "引擎",
"logs": "日誌",
"diagnostics": "診斷"
"diagnostics": "診斷",
"contextWindow": "上下文視窗"
},
"help": {
"theme": "在淺色與深色外觀之間切換。",
@@ -175,7 +176,8 @@
"logs": "開啟App引擎日誌資料夾。",
"diagnostics": "匯出一份供支援排查用的執行階段報告。",
"localServiceAccessNative": "允許完全存取模式下的 shell 命令存取這台 Mac 上的服務。",
"webuiDefaultAccessNative": "用於沒有單獨選擇權限的原生 App 對話。"
"webuiDefaultAccessNative": "用於沒有單獨選擇權限的原生 App 對話。",
"contextWindow": "選擇這個模型設定預設使用的上下文預算。"
},
"values": {
"light": "淺色",