From e829a8278024be0e7d29d774e9f48ffcc4c3edc5 Mon Sep 17 00:00:00 2001 From: hedeqiang Date: Mon, 19 May 2025 14:13:27 +0800 Subject: [PATCH] fix: correct CLI command in error message to 'openai api models.list' --- codex-cli/src/cli.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-cli/src/cli.tsx b/codex-cli/src/cli.tsx index c7e5d9ff3..c253c4266 100644 --- a/codex-cli/src/cli.tsx +++ b/codex-cli/src/cli.tsx @@ -442,7 +442,7 @@ if ( console.error( `The model "${config.model}" does not appear in the list of models ` + `available to your account. Double-check the spelling (use\n` + - ` openai models list\n` + + ` openai api models.list\n` + `to see the full list) or choose another model with the --model flag.`, ); process.exit(1);