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

Feature request: preconfigured API keys #97

Closed
Karunamon opened this issue Mar 31, 2023 · 1 comment
Closed

Feature request: preconfigured API keys #97

Karunamon opened this issue Mar 31, 2023 · 1 comment

Comments

@Karunamon
Copy link

Karunamon commented Mar 31, 2023

Having the option to specify the API keys for openai and eleven outside of the application (say as environment variables) would make this usable in situations where the end user might not be expected to have their own key, say, a company with their own openai account, or a family.

@cogentapps
Copy link
Owner

Added in today's update.

Create a file called config.yaml in your data folder with the following contents:

services:
  openai:
    apiKey: (your api key)
  elevenlabs:
    apiKey: (your api key)

and restart the server. Then chat & speech will work without entering your API key in the app.

If you encounter any issues with this new feature, please open a separate issue.

@cogentapps cogentapps mentioned this issue Apr 15, 2023
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

2 participants