The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 15:30 UTC
fix(codex): prevent unsupported agent history in ChatGPT sharing (#17499)
Co-authored-by: connorwalker <connor@project-chinook.com>
Connor Walker committed
Oct 11, 2026 at 04:05 UTC
0eef5d0c76f1765b7a44fa82e965bf5142d64169
2 files changed
+4
apps/server/src/provider/CodexManagedRuntime.test.ts
+2
@@ -163,6 +163,8 @@ it.effect.each(
163
'model_providers.openai_token_sharing.model_catalog_url="https://api.openai.com/v1/models"',
164
);
165
assert.include(args, "features.api_key_model_discovery=true");
166
+ assert.include(args, "features.multi_agent=false");
167
+ assert.include(args, "features.multi_agent_v2=false");
168
assert.notInclude(effective.config.launchArgs, "model_catalog_json");
169
assert.notInclude(effective.config.launchArgs, "x-openai-chatpass-test");
170
assert.include(args, "model_providers.openai_token_sharing.supports_websockets=false");
apps/server/src/provider/CodexManagedRuntime.ts
+2
@@ -22,6 +22,8 @@ const managedCodexLaunchArgs = [
22
'model_providers.openai_token_sharing.base_url="https://api.openai.com/v1"',
23
'model_providers.openai_token_sharing.model_catalog_url="https://api.openai.com/v1/models"',
24
"features.api_key_model_discovery=true",
25
+ "features.multi_agent=false",
26
+ "features.multi_agent_v2=false",
27
'model_providers.openai_token_sharing.env_key="ACCESS_TOKEN"',
28
'model_providers.openai_token_sharing.wire_api="responses"',
29
"model_providers.openai_token_sharing.requires_openai_auth=false",