joonspk-research / generative_agents

Generative Agents: Interactive Simulacra of Human Behavior

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Daily requirements only generated for first day currently?

zanthous opened this issue · comments

https://github.com/joonspk-research/generative_agents/blob/fe05a71d3e4ed7d10bf68aa4eda6dd995ec070f4/reverie/backend_server/persona/cognitive_modules/plan.py#L489C11-L489C11

In plan.py, line 489 there is

 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TODO
 # We need to create a new daily_req here...
 persona.scratch.daily_req = persona.scratch.daily_req

The first day generates daily_req fine above but for other new days it seems that nothing is created. I haven't run the simulation myself, I'm just reading through the project currently learning how it works and reimplementing in c#. Currently I am at generating an hourly schedule, and it iterates over the daily_req here.