diff --git a/concordia/components/agent/question_of_recent_memories.py b/concordia/components/agent/question_of_recent_memories.py index 8537db70..81b2f5a6 100644 --- a/concordia/components/agent/question_of_recent_memories.py +++ b/concordia/components/agent/question_of_recent_memories.py @@ -108,8 +108,7 @@ def _make_pre_act_value(self) -> str: prompt.statement(f'Current time: {self._clock_now()}.\n') component_states = '\n'.join([ - f"{agent_name}'s" - f' {prefix}:\n{self.get_named_component_pre_act_value(key)}' + f' {prefix}: {self.get_named_component_pre_act_value(key)}' for key, prefix in self._components.items() ]) prompt.statement(component_states)