-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Potential crash when frontend is not fast enough #11
Comments
This might be a different issue but when running ./run_backend_automatic.sh -o base_the_ville_isabella_maria_klaus -t test_1 -s 4 --ui False it will stop the simulation every 200 steps (When saving) - Is that expected? |
This is a wanted behavior (by me). Reason:
Does it make sense? |
That makes sense. Having said that, It should continue automatically right? OR is it expected for us to reload the browser? |
It should automatically restart a new simulation. Here the code the make it happen: https://github.com/drudilorenzo/generative_agents/blob/fix-and-improve/reverie/backend_server/automatic_execution.py#L93 |
…-and-rescue Re-import AzureOpenAI
I found that in the code below:
generative_agents/reverie/backend_server/reverie.py
Line 138 in 0db6021
Reverie::__init__
will try to open the current step environment file which is provided by frontend server.But I saw in
generative_agents/reverie/backend_server/reverie.py
Line 333 in 0db6021
It will wait for the frontend to produce it.
But
Reverie::__init__
is called beforeReverie::start_server
, such that if the frontend is not fast enough,Reverie::__init__
one will crash.Do I miss something here ?
The text was updated successfully, but these errors were encountered: