Modified the `run` method in the Agent class to check and execute tools after generating a response, regardless of whether long-term memory is used or not. This fixes the issue where tools were not being executed when long-term memory was present. Changes: - Moved tool execution check and call outside of the long-term memory conditional block - Ensures consistent tool usage across all agent runspull/611/head
parent
fbf65094a6
commit
79ef849de1
Loading…
Reference in new issue