Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(codex): disable agents for ChatGPT sharing #20270

Closedpirut(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromrefs/pull/20270/headopened View on GitHub

Showing 2 changed files with 3 additions and 0 deletions.

x
0 of 2 viewed, 2 left
1 addition and 0 deletionsapps/server/src/provider/CodexManagedRuntime.test.tsModified
View file
@@ -165,6 +165,7 @@
assert.include(args, "features.api_key_model_discovery=true");
assert.include(args, "features.multi_agent=false");
assert.include(args, "features.multi_agent_v2=false");
+ assert.include(args, "agents.enabled=false");
assert.notInclude(effective.config.launchArgs, "model_catalog_json");
assert.notInclude(effective.config.launchArgs, "x-openai-chatpass-test");
assert.include(args, "model_providers.openai_token_sharing.supports_websockets=false");
2 additions and 0 deletionsapps/server/src/provider/CodexManagedRuntime.tsModified
View file
@@ -23,6 +23,8 @@
"features.api_key_model_discovery=true",
"features.multi_agent=false",
"features.multi_agent_v2=false",
+ // The model catalog can still select multi-agent V2 unless agents are disabled outright.
+ "agents.enabled=false",
'model_providers.openai_token_sharing.env_key="ACCESS_TOKEN"',
'model_providers.openai_token_sharing.wire_api="responses"',
"model_providers.openai_token_sharing.requires_openai_auth=false",