fix(codex): prevent unsupported agent history in ChatGPT sharing (#17499)

Co-authored-by: connorwalker <[email protected]>
This commit is contained in:
Connor Walkerandconnorwalker authored and GitHub committed 2026-10-11 00:05:02 -03:00
1 parent a4a1a803a3
commit 0eef5d0c76
2 files changed
+4

No files matched your search

@@ -163,6 +163,8 @@ it.effect.each(
'model_providers.openai_token_sharing.model_catalog_url="https://api.openai.com/v1/models"',
);
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.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");
@@ -22,6 +22,8 @@ const managedCodexLaunchArgs = [
'model_providers.openai_token_sharing.base_url="https://api.openai.com/v1"',
'model_providers.openai_token_sharing.model_catalog_url="https://api.openai.com/v1/models"',
"features.api_key_model_discovery=true",
"features.multi_agent=false",
"features.multi_agent_v2=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",