Skip to content

Commit 794def3

Browse files
authored
updated the link for OpenAI API (openai#400)
* just updated the url for OpenAi API * updated the docs
1 parent c5f0cc4 commit 794def3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openai/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,5 @@ def default_api_key() -> str:
184184
return openai.api_key
185185
else:
186186
raise openai.error.AuthenticationError(
187-
"No API key provided. You can set your API key in code using 'openai.api_key = <API-KEY>', or you can set the environment variable OPENAI_API_KEY=<API-KEY>). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = <PATH>'. You can generate API keys in the OpenAI web interface. See https://onboard.openai.com for details, or email [email protected] if you have any questions."
187+
"No API key provided. You can set your API key in code using 'openai.api_key = <API-KEY>', or you can set the environment variable OPENAI_API_KEY=<API-KEY>). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = <PATH>'. You can generate API keys in the OpenAI web interface. See https://platform.openai.com/account/api-keys for details, or email [email protected] if you have any questions."
188188
)

0 commit comments

Comments
 (0)