Skip to content

Commit

Permalink
Fix hooks before_cat_recall inverted default
Browse files Browse the repository at this point in the history
Default configs passed to hooks are inverted, fixed
  • Loading branch information
sambarza committed Oct 24, 2023
1 parent bacc8bf commit 72f6abd
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 72f6abd

Please sign in to comment.