Skip to content

Strip tool-call XML artifacts from chat markdown output #40

Merged
DJJones66 merged 2 commits intomainfrom
nav-managed-host-and-credits
Apr 8, 2026
Merged

Strip tool-call XML artifacts from chat markdown output #40
DJJones66 merged 2 commits intomainfrom
nav-managed-host-and-credits

Conversation

@navaneethkrishnansuresh
Copy link
Copy Markdown
Collaborator

Filter out raw XML tool-call blocks (function_calls, invoke, parameter and their antml: namespaced variants) that some models/proxies leak as plain text into chat responses.

navaneethkrishnansuresh and others added 2 commits April 8, 2026 19:59
Merge pull request #38 from BrainDriveAI/nav-managed-host-and-credits
Filter out function_calls, invoke, and parameter XML tags (including
antml: namespaced variants) that some models/proxies emit as plain text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@DJJones66 DJJones66 merged commit 93db747 into main Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants