-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing the bug that was breaking conversation. The observation compon…
…ent stacks observations into its state on arrival (without update). This is why agent needs to query component state every time while building the state. This is all still threadsafe, so no problems there. Also privatised _update in the basic agent. It is up to the agent when to update PiperOrigin-RevId: 588022532 Change-Id: I28014e30afcfe6389d5faee0cd227b2c449cf5e1
- Loading branch information
1 parent
a36c437
commit 0fc5aa7
Showing
5 changed files
with
16 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,6 @@ def _make_npc( | |
], | ||
verbose=True, | ||
) | ||
npc.update() | ||
return npc | ||
|
||
def _get_nonplayer_characters( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters