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

Can't set API_KEY env variable for Groq #302

Open
darslim opened this issue Oct 16, 2024 · 2 comments
Open

Can't set API_KEY env variable for Groq #302

darslim opened this issue Oct 16, 2024 · 2 comments

Comments

@darslim
Copy link

darslim commented Oct 16, 2024

I have set AI_PROVIDER=groq and documentation shows that OPENAI_API_KEY will work to set the API key for Open AI but I can't set the GROQ_API_KEY. Also, is it possible to set the GROQ_MODEL variable?

@vt-alt
Copy link

vt-alt commented Dec 6, 2024

Looks like only openai provider supports setting values from env variables. Overall, the project does not look very active now, perhaps if you have api endpoint and keys you can try to use aichat tool. tgpt was/is interesting because it provides zero-config keyless cli access to free providers.

@aandrew-me
Copy link
Owner

I have set AI_PROVIDER=groq and documentation shows that OPENAI_API_KEY will work to set the API key for Open AI but I can't set the GROQ_API_KEY. Also, is it possible to set the GROQ_MODEL variable?

I will add support when i get the time

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