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

AssertionError: OPENAI_API_KEY environment variable is missing from .env #340

Closed
pankyye opened this issue Jun 17, 2023 · 0 comments
Closed

Comments

@pankyye
Copy link

pankyye commented Jun 17, 2023

Hi

every time I run python3 babyagi.py, there display an error:

Using embedded DuckDB without persistence: data will be transient
Traceback (most recent call last):
File "/Users/panky/babyagi/babyagi.py", line 33, in
assert OPENAI_API_KEY, "\033[91m\033[1m" + "OPENAI_API_KEY environment variable is missing from .env" + "\033[0m\033[0m"
AssertionError: OPENAI_API_KEY environment variable is missing from .env

I have setup the openai API key in the .eve file, does any one could help me figure out what is going on here? Thanks!

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