google-deepmind / concordia

A library for generative social simulation
Apache License 2.0
497 stars 96 forks source link

Agent state #55

Closed anatoleg closed 3 months ago

anatoleg commented 3 months ago

In BasicAgent init line 93: "self._state: str | None" self._state does not seem to be set to anything. It does not seem to be set or used in any of the methods. The state() method collects and joins the states of all components but does not affect self._state. Is this right? Is self._state used?

jzleibo commented 3 months ago

Good catch, you are right. That private variable is not used anywhere. I'll remove it. Thank you!