Telegram agent leaks ChatML-style tool tags #76

Closed
opened 2026-07-05 21:12:59 +00:00 by MrSphay · 1 comment
Owner

Observed local model response: <|tool_call>call:get_evidence{query:"...",limit:5}<tool_call|>. The agent only parsed JSON protocol objects and treated this tagged tool syntax as a user-facing answer. Add bounded parsing for known ChatML-style calls, reject unknown protocol-like output, and ensure tags never reach Telegram. Include exact regression fixture.

Observed local model response: <|tool_call>call:get_evidence{query:"...",limit:5}<tool_call|>. The agent only parsed JSON protocol objects and treated this tagged tool syntax as a user-facing answer. Add bounded parsing for known ChatML-style calls, reject unknown protocol-like output, and ensure tags never reach Telegram. Include exact regression fixture.
Author
Owner

Actively handled on branch codex/issue-76-chatml-tool-parser.

Actively handled on branch `codex/issue-76-chatml-tool-parser`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Code-Inc/intelligence-terminal#76