mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-01 03:35:30 +08:00
feat(codex): add remote compaction toggle for third-party providers
Write model_providers name as "OpenAI" to let Codex attempt remote compaction through compatible endpoints. Hidden for official providers.
This commit is contained in:
@@ -1103,6 +1103,8 @@
|
||||
"editCommonConfigTitle": "Edit Codex Common Config Snippet",
|
||||
"commonConfigHint": "This snippet will be appended to the end of config.toml when 'Write Common Config' is checked",
|
||||
"enableGoalMode": "Enable Goal mode",
|
||||
"enableRemoteCompaction": "Enable remote compaction",
|
||||
"remoteCompactionHint": "When enabled, the active model_providers entry name is written as OpenAI so Codex can try remote compaction.",
|
||||
"apiUrlLabel": "API Request URL",
|
||||
"extractFromCurrent": "Extract from Editor",
|
||||
"extractNoCommonConfig": "No common config available to extract from editor",
|
||||
|
||||
@@ -1103,6 +1103,8 @@
|
||||
"editCommonConfigTitle": "Codex 共通設定スニペットを編集",
|
||||
"commonConfigHint": "「共通設定を書き込む」がオンの場合、config.toml の末尾に追記されます",
|
||||
"enableGoalMode": "Goal mode を有効化",
|
||||
"enableRemoteCompaction": "リモート圧縮を有効化",
|
||||
"remoteCompactionHint": "有効にすると、現在の model_providers エントリの name を OpenAI に設定し、Codex がリモート圧縮を試行できるようにします。",
|
||||
"apiUrlLabel": "API リクエスト URL",
|
||||
"extractFromCurrent": "編集内容から抽出",
|
||||
"extractNoCommonConfig": "編集内容から抽出できる共通設定がありません",
|
||||
|
||||
@@ -1075,6 +1075,8 @@
|
||||
"editCommonConfigTitle": "編輯 Codex 通用設定片段",
|
||||
"commonConfigHint": "該片段會在勾選「寫入通用設定」時附加到 config.toml 末尾",
|
||||
"enableGoalMode": "啟用 Goal mode",
|
||||
"enableRemoteCompaction": "啟用遠端壓縮",
|
||||
"remoteCompactionHint": "開啟後會將目前 model_providers 條目的 name 寫為 OpenAI,讓 Codex 嘗試使用遠端壓縮。",
|
||||
"apiUrlLabel": "API 請求位址",
|
||||
"extractFromCurrent": "從編輯內容擷取",
|
||||
"extractNoCommonConfig": "目前編輯內容沒有可擷取的通用設定",
|
||||
|
||||
@@ -1103,6 +1103,8 @@
|
||||
"editCommonConfigTitle": "编辑 Codex 通用配置片段",
|
||||
"commonConfigHint": "该片段会在勾选'写入通用配置'时追加到 config.toml 末尾",
|
||||
"enableGoalMode": "启用 Goal mode",
|
||||
"enableRemoteCompaction": "启用远程压缩",
|
||||
"remoteCompactionHint": "开启后会将当前 model_providers 条目的 name 写为 OpenAI,使 Codex 尝试使用远程压缩。",
|
||||
"apiUrlLabel": "API 请求地址",
|
||||
"extractFromCurrent": "从编辑内容提取",
|
||||
"extractNoCommonConfig": "当前编辑内容没有可提取的通用配置",
|
||||
|
||||
Reference in New Issue
Block a user