Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/server/src/provider/CodexManagedRuntime.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ it.live.each(
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(provider, "supports_websockets=false");
assert.include(provider, "supports_websockets=true");
assert.include(provider, "requires_openai_auth=false");
for (const secret of ["dummy-owned-access", "dummy-refresh", "ambient-bearer"]) {
assert.notInclude(effective.config.launchArgs, secret);
Expand Down
4 changes: 3 additions & 1 deletion apps/server/src/provider/CodexManagedRuntime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ const managedCodexLaunchArgs = (command: string, args: ReadonlyArray<string>) =>
[
'model_provider="openai_token_sharing"',
// Codex persists this provider ID in rollouts and needs it unchanged to resume.
`model_providers.openai_token_sharing={name="OpenAI Token Sharing",base_url="https://api.openai.com/v1",model_catalog_url="https://api.openai.com/v1/models",wire_api="responses",requires_openai_auth=false,supports_websockets=false,auth={command=${JSON.stringify(command)},args=${JSON.stringify(args)},timeout_ms=${COMMAND_TIMEOUT_MS},refresh_interval_ms=0}}`,
// WebSockets send each step's new input only; over HTTP every step re-uploads the
// whole history, including every image, which made image-heavy turns take minutes.
`model_providers.openai_token_sharing={name="OpenAI Token Sharing",base_url="https://api.openai.com/v1",model_catalog_url="https://api.openai.com/v1/models",wire_api="responses",requires_openai_auth=false,supports_websockets=true,auth={command=${JSON.stringify(command)},args=${JSON.stringify(args)},timeout_ms=${COMMAND_TIMEOUT_MS},refresh_interval_ms=0}}`,
"features.api_key_model_discovery=true",
"features.multi_agent=false",
"features.multi_agent_v2=false",
Expand Down
Loading