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:
Jason
2026-05-28 11:57:54 +08:00
parent a2ac21d0a6
commit af60c7ed2c
9 changed files with 215 additions and 0 deletions
@@ -2163,6 +2163,8 @@ function ProviderFormFull({
<CodexConfigEditor
authValue={codexAuth}
configValue={codexConfig}
providerName={form.watch("name")}
showRemoteCompaction={category !== "official"}
onAuthChange={setCodexAuth}
onConfigChange={handleCodexConfigChange}
useCommonConfig={useCodexCommonConfigFlag}