-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Bug: memory tool response leaks into Telegram output #6316
Copy link
Copy link
Open
Labels
P1High — major feature broken, no workaroundHigh — major feature broken, no workaroundcomp/gatewayGateway runner, session dispatch, deliveryGateway runner, session dispatch, deliveryplatform/telegramTelegram bot adapterTelegram bot adaptertool/memoryMemory tool and memory providersMemory tool and memory providerstype/bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
P1High — major feature broken, no workaroundHigh — major feature broken, no workaroundcomp/gatewayGateway runner, session dispatch, deliveryGateway runner, session dispatch, deliveryplatform/telegramTelegram bot adapterTelegram bot adaptertool/memoryMemory tool and memory providersMemory tool and memory providerstype/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug: memory tool response leaks into Telegram output
Description
When the
memorytool is called (add/replace/remove), its internal response — including the old_text search string and operation indicators (+/-/~ prefixes) — is being rendered directly into the public Telegram message output.Example of what appears in Telegram (user-visible):
These are internal tool response artifacts that should never reach the user.
Frequency
Seen multiple times by the same user.
Environment
Expected behavior
The memory tool should operate silently. Only the final confirmation (if any) should reach the user. The old_text string, operation markers (+/-/~), and internal state should never appear in the chat.
Possible cause
The memory tool's response formatter may be passing raw operation metadata into the Telegram rendering layer instead of suppressing it for messaging platforms.