Commit 89dbcc2
committed
Fix resource tool to always allow like other core tools
- Change eval_perm to return PermissionEvalResult::Allow directly
- Matches behavior of thinking and gh_issue tools
- No longer checks agent.allowed_tools, treats as core tool
- Should now work without needing explicit approval1 parent 5e145e2 commit 89dbcc2
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
371 | 368 | | |
372 | 369 | | |
0 commit comments