Skip to content

Strip system reminder from Claude tool use responses#1214

Merged
jonathanlab merged 1 commit intomainfrom
fix/strip-system-reminder-xml
Mar 12, 2026
Merged

Strip system reminder from Claude tool use responses#1214
jonathanlab merged 1 commit intomainfrom
fix/strip-system-reminder-xml

Conversation

@jonathanlab
Copy link
Contributor

TL;DR: Replace hardcoded system reminder string matching with a regex-based function to more reliably remove system reminders from Claude tool use responses.

@jonathanlab
Copy link
Contributor Author

Closes #1201

@jonathanlab jonathanlab merged commit a5abbf7 into main Mar 12, 2026
13 of 14 checks passed
@jonathanlab jonathanlab deleted the fix/strip-system-reminder-xml branch March 12, 2026 13:54
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