Skip to content

Read the OpenAI API key from environment variable OPENAI_API_KEY#16

Open
csjpeter wants to merge 1 commit intoDoriandarko:mainfrom
csjpeter:api-key-from-env-variable
Open

Read the OpenAI API key from environment variable OPENAI_API_KEY#16
csjpeter wants to merge 1 commit intoDoriandarko:mainfrom
csjpeter:api-key-from-env-variable

Conversation

@csjpeter
Copy link
Copy Markdown

@csjpeter csjpeter commented Oct 3, 2024

I think it is much better user experience if by default the "standard" environment variable OPENAI_API_KEY is checked for the OpenAI API key.

@1jammer1
Copy link
Copy Markdown

1jammer1 commented Oct 3, 2024

I strongly agree with this and the code is simple and does not seem to interfere with anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants