Commit 6c3b655
authored
🤖 fix: improve bash timeout error message with actual timeout value (#667)
_Generated with `mux`_
Improves the bash tool timeout error message to include the actual
timeout value that was exceeded, making it clearer for LLMs how to
adjust their tool calls.
**Before:**
```
Command exceeded timeout
```
**After:**
```
Command exceeded timeout of 3 seconds. You can increase the timeout by setting the `timeout_secs` parameter on the tool call. Do not use the `timeout` bash command to increase the timeout.
```
The error message now:
- Shows the actual timeout value that was exceeded
- Explains how to increase the timeout via the `timeout_secs` parameter
- Warns against using the bash `timeout` command as a workaround
Relates to #6521 parent 5e96883 commit 6c3b655
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
156 | | - | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
457 | 458 | | |
458 | 459 | | |
459 | 460 | | |
460 | | - | |
| 461 | + | |
| 462 | + | |
461 | 463 | | |
462 | 464 | | |
463 | 465 | | |
| |||
0 commit comments