Skip to content

Dotenv Support - #122

Merged
tibo-openai merged 1 commit into
openai:mainfrom
defrex:dotenv-support
Apr 16, 2025
Merged

tibo-openai merged 1 commit into
openai:mainfrom
defrex:dotenv-support

Conversation

@defrex

@defrex defrex commented Apr 16, 2025

Copy link
Copy Markdown
Contributor

This PR adds dotenv to enable picking up the OPENAI_API_KEY env var from the local repo where the client was initialized.

I have multiple projects, some where I want to use my corporate key and some where I want to use my personal key. Manually exporting them is pretty annoying. So I've added dotenv to make managing this much simpler.

Signed-off-by: Aron Jones <aron.jones@gmail.com>
@tibo-openai

Copy link
Copy Markdown
Collaborator

Partially answers #9

@tibo-openai
tibo-openai merged commit 40266be into openai:main Apr 16, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants