Add details link for tool call error messages #10641
Draft
+47
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds diagnostic information to the details popup for tool call error messages when the model does not follow tool calls correctly.
Changes
Task.tsto capture and include diagnostic information whenMODEL_NO_TOOLS_USEDorMODEL_NO_ASSISTANT_MESSAGESerrors occurChatRow.tsxto extract diagnostic info from error messages and pass to ErrorRow componentImpact
Users will now see a "Details" link for these model error types, allowing them to view diagnostic information that can help troubleshoot why the model is not using tools correctly.
View task on Roo Code Cloud
Important
Adds diagnostic details to error messages for specific model errors, enhancing troubleshooting in
Task.tsandChatRow.tsx.Task.ts: Adds diagnostic info toMODEL_NO_TOOLS_USEDandMODEL_NO_ASSISTANT_MESSAGESerrors.ChatRow.tsx: Extracts diagnostic info from error messages and passes it toErrorRow.ChatRow.tsxfor better user feedback.This description was created by
for 1957388. You can customize this summary. It will automatically update as commits are pushed.