Skip to content

Commit

Permalink
Fixing the conversation component adding empty memories to the GM.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 590187141
Change-Id: I476c3f4cbe85a675238771617a3379b20cf9159d
  • Loading branch information
vezhnick authored and copybara-github committed Dec 12, 2023
1 parent b447337 commit 5debdc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions concordia/components/game_master/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ def update_after_event(
conversation_occurred = document.yes_no_question(
'Does the event suggest anyone said anything or is about to speak?'
)
conversation_summary = ''
if self._verbose:
self._log('\n Checking if conversation occurred.')

Expand Down Expand Up @@ -307,10 +306,10 @@ def update_after_event(
}

conversation_summary = who_talked + ' ' + conversation_summary
self._memory.add(conversation_summary)

if self._verbose:
self._log(scene_output)
self._log(conversation_summary)

self._history.append(conversation_log)
self._memory.add(conversation_summary)

0 comments on commit 5debdc8

Please sign in to comment.