Skip to content

Commit

Permalink
Rename private variable in relevant events component.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 636926372
Change-Id: I4c11bee7f4889782ca79dfd2fe3bdf4e1ffa36f2
  • Loading branch information
jzleibo authored and copybara-github committed May 24, 2024
1 parent 3fe7e42 commit 58458c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions concordia/components/game_master/relevant_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def get_last_log(self):
if self._history:
return self._history[-1].copy()

def update_before_event(self, cause_statement: str) -> None:
def update_before_event(self, action_attempt: str) -> None:
mem_retrieved = self._memory.retrieve_associative(
cause_statement,
action_attempt,
use_recency=self._use_recency,
add_time=self._add_time,
k=self._num_memories_retrieved_for_update,
Expand All @@ -85,6 +85,6 @@ def update_before_event(self, cause_statement: str) -> None:
update_log = {
'date': self._clock_now(),
'state': self._state,
'cause_statement': cause_statement,
'action_attempt': action_attempt,
}
self._history.append(update_log)

0 comments on commit 58458c0

Please sign in to comment.