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

The .env file is not being used only environment variables work. #1962

Open
davidsells opened this issue Oct 31, 2024 · 0 comments
Open

The .env file is not being used only environment variables work. #1962

davidsells opened this issue Oct 31, 2024 · 0 comments

Comments

@davidsells
Copy link

System Information

MacOS Version: 14.5
Running on the main branch ( Oct 31 8AM EDT )

How to reproduce the error

  • unset all LLM Provider keys in shell
  • add LLM Provider key to .env file
  • Start application and create an agent. The only model available is the letta-free.

This was tested with:
GROQ_API_KEY=""
OPENAI_API_KEY="sk-"

Both work fine when the keys are exported to the shell. However, if the keys are not in the shell but described in the .env file they were not picked up by the application.

Related Bugs

This is related to the closed ticket:

And the open ticket:

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

1 participant