You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to update instructions for PreLoadMemoryTool #7423
** Please make sure you read the contribution guide and file the issues in the right place. ** Contribution guide.
🔴 Required Information
Please ensure all items in this section are completed to allow for efficient
triaging. Requests without complete information may be rejected / deprioritized.
If an item is not applicable to you - please mark it as N/A
Is your feature request related to a specific problem?
When using managed Memory Bank topics, the instructions injected to the prompt are hardcoded.
This means that in order to change the instructions, we will have to create a sub-class of PreLoadMemoryTool, which is not ideal
Describe the Solution You'd Like
PreLoadMemoryTool can be configurable, such that the default instructions can be overwritten.
Impact on your work
Not critical, since there's still a workaround as outlined above, but would be nice to have.
Willingness to contribute
Are you interested in implementing this feature yourself or submitting a PR?
Yes, I would actually want to implement this.
🟡 Recommended Information
Describe Alternatives You've Considered
Creating a sub-class and overwriting the instruction does work, but this is something that can easily be avoided.
Proposed API / Implementation
A simple configuration when instantiating the PreLoadMemoryTool
Additional Context
Add any other context or screenshots about the feature request here.
I'd like to add an optional instruction argument for the text before <PAST_CONVERSATIONS>. The default would stay unchanged, and an empty string would omit only that introduction; memory contents and insertion order would stay the same. This would leave #7723's retrieval-error options untouched. Is anyone already working on this scope?
Activity
llalitkumarrr commentedon Oct 7, 2026
Hello @gmyrianthous,
Thank you for reaching out. We are reviewing your request and will update you shortly. Thank you for your patience.
Samecho commentedon Oct 27, 2026
I'd like to add an optional
instructionargument for the text before<PAST_CONVERSATIONS>. The default would stay unchanged, and an empty string would omit only that introduction; memory contents and insertion order would stay the same. This would leave #7723's retrieval-error options untouched. Is anyone already working on this scope?feat(tools): allow custom preload memory instructions