Commit 1f322e0
fix: suppress tool result XML when file not found error is emitted
- Set xmlContent to empty string for ENOENT errors to prevent duplicate error display
- The file_not_found_error message is already emitted separately and displayed with proper styling
- This prevents the raw 'Error reading file...' text from appearing in the UI1 parent e270192 commit 1f322e0
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
734 | | - | |
| 734 | + | |
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
| |||
0 commit comments