Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add openairc file #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Add openairc file #41

wants to merge 1 commit into from

Conversation

tom-doerr
Copy link

After merging this PR, users will be able to store their authentication information in the openairc file.

Currently, if the credentials are not in the environment, every application has to load the credentials itself, e.g.

Having the openai module load the config means less work for users and developers.

~/.config/openairc:

[api]
Organization = org-j----------------------P
APIKey = sk-U----------------------------------------------A

Copy link
Collaborator

@hallacy hallacy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I like the idea of a config file. Any chance you could clear up those merge conflicts and we can get this in?

@hallacy
Copy link
Collaborator

hallacy commented Jan 26, 2022

Actually, I think this feature was mostly added with the addition of the api_key_path feature (#42). Any chance you could merge your feature with that?

@hallacy
Copy link
Collaborator

hallacy commented Feb 1, 2022

Gonna close this for now. Feel free to reopen!

@hallacy hallacy closed this Feb 1, 2022
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.

2 participants