-
Notifications
You must be signed in to change notification settings - Fork 459
Fix #1077: properly redact toolResult blocks to avoid corrupting the conversation #1080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1077: properly redact toolResult blocks to avoid corrupting the conversation #1080
Conversation
4a95b7f to
04b1aa9
Compare
04b1aa9 to
247a316
Compare
|
I updated the PR to only properly redact toolResult blocks, and I removed the other breaking changes. Side note: still not sure I agree with the current behavior. :-) strands will now redact the preceding input ("here we are") and the current output "cactus". |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Description
See #1077 : output guardrails intervention causes the redacting of the preceding input that might contain a
toolResult, breaking the conversation.This PR introduces the following change:
Related Issues
#1077
Documentation PR
Type of Change
Bug fix
Testing
Ran unit tests and integration tests
Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.