Skip to content

Commit b3c9832

Browse files
fix(oauth): list ChatGPT models as Codex CLI 0.160.0 (tester-army#760)
Co-authored-by: oskar <[email protected]>
1 parent c6c39ad commit b3c9832

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎.changeset/codex-client-version.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'e2e': patch
3+
---
4+
5+
`e2e models openai` asks the ChatGPT backend for its model list as Codex CLI 0.160.0 (was 0.155.1). The backend hides models from clients it considers too old, so models unlocked since 0.155.1 now show up and can be passed to `chatgpt()`.

‎packages/e2e/src/oauth/providers/openai.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const REQUIRED_INSTRUCTIONS = 'Follow the user request.';
3232
* client is too old for. This is the Codex CLI release current when the list
3333
* was last checked; bump it when a model the ChatGPT app shows is missing.
3434
*/
35-
const CODEX_CLIENT_VERSION = '0.155.1';
35+
const CODEX_CLIENT_VERSION = '0.160.0';
3636

3737
export interface CodexCredentials extends OAuthCredentials {
3838
/** The ChatGPT account the requests bill to. */

0 commit comments

Comments
 (0)