Commit aa1fb49
committed
Fix bash tool isError behavior to match taiga implementation
- Changed bash tool to always return isError=false for successfully executed commands
- Non-zero exit codes are part of normal command output, not MCP protocol errors
- Only actual tool execution failures (exceptions) now set isError=true
- This aligns with taiga's bash tool behavior where CLIResult contains output/error but doesn't set isError based on exit code1 parent 5074233 commit aa1fb49
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments