Files
llmx/codex-rs/core/src
Eric Traut 900bb01486 When logging in using ChatGPT, make sure to overwrite API key (#3611)
When logging in using ChatGPT using the `codex login` command, a
successful login should write a new `auth.json` file with the ChatGPT
token information. The old code attempted to retain the API key and
merge the token information into the existing `auth.json` file. With the
new simplified login mechanism, `auth.json` should have auth information
for only ChatGPT or API Key, not both.

The `codex login --api-key <key>` code path was already doing the right
thing here, but the `codex login` command was incorrect. This PR fixes
the problem and adds test cases for both commands.
2025-09-14 19:48:18 -07:00
..
2025-09-14 19:33:19 -04:00
2025-09-02 17:29:58 +00:00
2025-09-15 00:34:33 +00:00
2025-09-05 10:41:47 -07:00
2025-09-14 19:33:19 -04:00
2025-09-14 19:33:19 -04:00
2025-08-29 02:16:39 +00:00
2025-09-12 23:17:41 -07:00
2025-09-14 19:33:19 -04:00
2025-09-10 17:38:11 -07:00
2025-09-02 17:29:58 +00:00