Commit a89228b
committed
fix(tools): stop ToolSearch description claiming nonexistent deferral
Root-cause follow-up to the ToolSearch gate: pythinker emits no defer_loading
and ToolSearch only searches already-visible, already-callable tools (it
unlocks nothing). The old description told the model that "deferred/hidden
tool loading" might leave capabilities off the prompt — a false claim that
primed weaker models to loop searching for tools they already had. Rewrite it
to state plainly that it reveals nothing new and to call tools directly.1 parent 7c78542 commit a89228b
3 files changed
Lines changed: 18 additions & 4 deletions
File tree
- src/pythinker_code/tools/tool_search
- tests/tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
0 commit comments