Commit 2ea7e0f
committed
🤖 fix: hide ask_user_question from exec mode tool list
Add optional mode parameter to getAvailableTools so ask_user_question
is only advertised in plan mode, matching the runtime registration.
Fixes P1 review feedback: models would otherwise invoke unavailable
tool in exec mode and cause failures.
Signed-off-by: Thomas Kosiewski <tk@coder.com>
---
_Generated with `mux`_
Change-Id: I1e2c792bee3b0606ec0c10a18a19443d990f20911 parent 6c8059f commit 2ea7e0f
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| 404 | + | |
404 | 405 | | |
405 | 406 | | |
406 | | - | |
| 407 | + | |
407 | 408 | | |
408 | 409 | | |
409 | 410 | | |
| |||
416 | 417 | | |
417 | 418 | | |
418 | 419 | | |
419 | | - | |
| 420 | + | |
| 421 | + | |
420 | 422 | | |
421 | 423 | | |
422 | 424 | | |
| |||
0 commit comments