Skip to content
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

OPENAI_API_KEY not properly detected? #85

Closed
PeterDaveHello opened this issue May 7, 2023 · 5 comments
Closed

OPENAI_API_KEY not properly detected? #85

PeterDaveHello opened this issue May 7, 2023 · 5 comments

Comments

@PeterDaveHello
Copy link
Contributor

Got this error from multiple PRs:

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

(transmission-remote-gui/transgui#1427)

The secret was set as mentioned in the readme, tried both Repository & Organization level:

image

Not sure what's wrong? (I installed from https://github.com/apps/cr-gpt)

@anc95
Copy link
Owner

anc95 commented May 10, 2023

@PeterDaveHello If you are installing from https://github.com/apps/cr-gpt, please try setting the OPENAI_API_KEY under variables instead of secrets, as a GitHub app is unable to access the secrets value.

@PeterDaveHello
Copy link
Contributor Author

Thanks, it works, not sure if that'll be security concerns that we should be careful?

@anc95
Copy link
Owner

anc95 commented May 22, 2023

@PeterDaveHello Only the owner of the repo is able to view the variable settings, and since the app does not log or store any information related to the variable, it can be considered secure to a certain extent.

@PeterDaveHello
Copy link
Contributor Author

Okay, thanks!

@luomanman567
Copy link

I got the same problem...Setting the OPENAI_API_KEY under variables didn't work.

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

No branches or pull requests

3 participants