core-agent-ide/codex-rs/mcp-server/tests/suite
Eric Traut e5dd7f0934
Fix get_auth_status response when using custom provider (#3581)
This PR addresses an edge-case bug that appears in the VS Code extension
in the following situation:
1. Log in using ChatGPT (using either the CLI or extension). This will
create an `auth.json` file.
2. Manually modify `config.toml` to specify a custom provider.
3. Start a fresh copy of the VS Code extension.

The profile menu in the VS Code extension will indicate that you are
logged in using ChatGPT even though you're not.

This is caused by the `get_auth_status` method returning an
`auth_method: 'chatgpt'` when a custom provider is configured and it
doesn't use OpenAI auth (i.e. `requires_openai_auth` is false). The
method should always return `auth_method: None` if
`requires_openai_auth` is false.

The same bug also causes the NUX (new user experience) screen to be
displayed in the VSCE in this situation.
2025-09-14 18:27:02 -07:00
..
archive_conversation.rs feat: add ArchiveConversation to ClientRequest (#3353) 2025-09-09 11:39:00 -04:00
auth.rs Fix get_auth_status response when using custom provider (#3581) 2025-09-14 18:27:02 -07:00
codex_message_processor_flow.rs feat: reasoning effort as optional (#3527) 2025-09-12 12:06:33 -07:00
codex_tool.rs chore: try to make it easier to debug the flakiness of test_shell_command_approval_triggers_elicitation (#2848) 2025-08-28 12:33:33 -07:00
config.rs Never store requests (#3212) 2025-09-05 10:41:47 -07:00
create_conversation.rs feat: include reasoning_effort in NewConversationResponse (#3506) 2025-09-11 21:04:40 -07:00
interrupt.rs test: faster test execution in codex-core (#2633) 2025-08-24 11:10:53 -07:00
list_resume.rs Introduce rollout items (#3380) 2025-09-09 23:52:33 +00:00
login.rs Simplify auth flow and reconcile differences between ChatGPT and API Key auth (#3189) 2025-09-11 09:16:34 -07:00
mod.rs feat: added SetDefaultModel to JSON-RPC server (#3512) 2025-09-11 23:44:17 -07:00
send_message.rs test: faster test execution in codex-core (#2633) 2025-08-24 11:10:53 -07:00
set_default_model.rs feat: change the behavior of SetDefaultModel RPC so None clears the value. (#3529) 2025-09-12 11:35:51 -07:00
user_agent.rs Set a user agent suffix when used as a mcp server (#3395) 2025-09-10 02:32:57 +00:00
user_info.rs feat: add UserInfo request to JSON-RPC server (#3428) 2025-09-10 17:03:35 -07:00