henrycunh / golem

✨ A beautiful UI for ChatGPT and other conversational models
https://golem.chat
MIT License
235 stars 63 forks source link

ENV #16

Closed rossman22590 closed 1 year ago

rossman22590 commented 1 year ago

can i use OPENAI_API_KEY in env as key?

henrycunh commented 1 year ago

I'll implement support for this!

Just for a better understanding of this use case: You want to have a single API Key for a self-hosted version, shared by anyone that uses this instance, right?

Having the application protected by password would also be necessary?

rossman22590 commented 1 year ago

yes and yes

henrycunh commented 1 year ago

Hey @rossman22590, just letting you know the feature is ready to go :]

You can set the API Key through the OPENAI_API_KEY environment variable, and a password through the GEPPETO_PASSWORD one.

rossman22590 commented 1 year ago

it works! this is great. can we hide the key in the ui in fornt end maybe ****