Skip to content

Commit

Permalink
Merge pull request #526 from sambarza/fix-hooks-before_cat_recalls-in…
Browse files Browse the repository at this point in the history
…verted

Fix hooks before_cat_recall inverted defaults
  • Loading branch information
pieroit authored Oct 24, 2023
2 parents 3cbf546 + 72f6abd commit 0f0733c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/cat/looking_glass/cheshire_cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ def recall_relevant_memories_to_working_memory(self, working_memory):
# hooks to change recall configs for each memory
recall_configs = [
self.mad_hatter.execute_hook("before_cat_recalls_episodic_memories", default_episodic_recall_config),
self.mad_hatter.execute_hook("before_cat_recalls_declarative_memories", default_procedural_recall_config),
self.mad_hatter.execute_hook("before_cat_recalls_procedural_memories", default_declarative_recall_config)
self.mad_hatter.execute_hook("before_cat_recalls_declarative_memories", default_declarative_recall_config),
self.mad_hatter.execute_hook("before_cat_recalls_procedural_memories", default_procedural_recall_config)
]

memory_types = self.memory.vectors.collections.keys()
Expand Down

0 comments on commit 0f0733c

Please sign in to comment.