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

feat: load env vars from file #685

Merged
merged 1 commit into from
Jul 4, 2024
Merged

feat: load env vars from file #685

merged 1 commit into from
Jul 4, 2024

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Jul 4, 2024

The PR enables users to use environment variables stored in separate env file.

To find the default env file path, run aichat --info | grep -w env_file.
Users can override the path with the AICHAT_ENV_FILE environment variable.

The environment variables can be used in tools, agents, and document loader scripts.

close #678

@sigoden sigoden merged commit d058bae into main Jul 4, 2024
3 checks passed
@sigoden sigoden deleted the feat branch July 4, 2024 06:40
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

Successfully merging this pull request may close these issues.

Make it possible to load api keys from a separate file
1 participant