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

Enter option Error. #38

Open
MAC1713 opened this issue Aug 11, 2023 · 3 comments
Open

Enter option Error. #38

MAC1713 opened this issue Aug 11, 2023 · 3 comments

Comments

@MAC1713
Copy link

MAC1713 commented Aug 11, 2023

Everything is working normally, until the:"Enter option:"step, when I wrote "run 10", and press Enter key, it show me an "Error"


Here's the code:
xxx@xxxMacBook-Air backend_server % python reverie.py
Enter the name of the forked simulation: base_the_ville_isabella_maria_klaus
Enter the name of the new simulation: demo_town_1
Note: The agents in this simulation package are computational
constructs powered by generative agents architecture and LLM. We
clarify that these agents lack human-like agency, consciousness,
and independent decision-making.
---
Enter option: run 10
Error.
Enter option:

And in http://localhost:8000/simulator_home, there's nothing happened, everything keep in default value.

@agaldino
Copy link

You can try altering the reverie.py on line 594 to show the Exception.

Like this:

 except Exception as error: 
        print ("Error.", error)
        pass

I've had the same problem and it was the Open AI quota.

@PeachyTaozi
Copy link

help! same error happening to me, have you solved it already?

@MAC1713
Copy link
Author

MAC1713 commented Aug 14, 2023

I've tried agaldino's way, and it's worked.
The Exception said my OpenAi's API key is expired, so that resulted in an error.

septagram added a commit to septagram/local_generative_agents that referenced this issue Apr 4, 2024
septagram added a commit to septagram/local_generative_agents that referenced this issue Apr 4, 2024
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