Skip to content

Commit 75febbd

Browse files
Update README.md (openai#1989)
Updates the README to clarify auth vs. api key behavior.
1 parent 39a4d4e commit 75febbd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ If you prefer to pay-as-you-go, you can still authenticate with your OpenAI API
116116
export OPENAI_API_KEY="your-api-key-here"
117117
```
118118

119-
> Note: This command only sets the key for your current terminal session, which we recommend. To set it for all future sessions, you can also add the `export` line to your shell's configuration file (e.g., `~/.zshrc`).
119+
Notes:
120+
121+
- This command only sets the key for your current terminal session, which we recommend. To set it for all future sessions, you can also add the `export` line to your shell's configuration file (e.g., `~/.zshrc`).
122+
- If you have signed in with ChatGPT, Codex will default to using your ChatGPT credits. If you wish to use your API key, use the `/logout` command to clear your ChatGPT authentication.
120123

121124
### Choosing Codex's level of autonomy
122125

0 commit comments

Comments
 (0)