-
Notifications
You must be signed in to change notification settings - Fork 3
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 duplicate ToolResult display in ChatMessage component #71
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
1 similar comment
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
1 similar comment
The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information. |
This PR addresses issue #65: ToolResult shows malformed data, the related rehydration issue mentioned in #69, and prevents duplicate content from being displayed.
Changes made:
toolInvocations
andtool_invocations
into a single array for processing.These changes should resolve the following issues:
toolInvocations
andtool_invocations
arrays.The modifications should provide a more consistent and clean display of tool invocations in the chat interface, eliminating the issue of seeing the same content twice.
To test these changes:
toolInvocations
andtool_invocations
are properly handled and displayed.Please review the changes and test the component thoroughly. If any issues persist or new ones arise, please let me know, and I'll make further modifications as needed.
Note: The previous commit was mistakenly made on the main branch. This PR now contains the correct changes on the issue-65-fix-toolresult-display branch. I apologize for any confusion this may have caused.