Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions plugins/memory/hindsight/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1506,6 +1506,7 @@ def handle_tool_call(self, tool_name: str, args: dict, **kwargs) -> str:
content,
context=context,
tags=args.get("tags"),
retain_async=True,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

handle_tool_call removes item["retain_async"] immediately before aretain_batch() (current main: :1715-1721), so this item-level value never reaches Hindsight. Pass retain_async=self._retain_async to aretain_batch(...) instead, matching the auto-retain path and preserving configured retain_async: false.

)
logger.debug("Tool hindsight_retain: bank=%s, content_len=%d, context=%s",
self._bank_id, len(content), context)
Expand Down