diff --git a/concordia/agents/basic_agent.py b/concordia/agents/basic_agent.py index ad63845e..67530c6e 100644 --- a/concordia/agents/basic_agent.py +++ b/concordia/agents/basic_agent.py @@ -175,7 +175,7 @@ def state(self): with self._state_lock: return '\n'.join( f"{self._agent_name}'s " + (comp.name() + ':\n' + comp.state()) - for comp in self._components.values() + for comp in self._components.values() if comp.state() ) def _maybe_update(self):