Commit 5272bc6
Drop redundant with_tools(declaration-only) calls in multi_client tests
The with_tool_handlers/with_tools merge means a single call now both
declares the tool and attaches the handler. The leftover second
with_tools([tool_definition]) call was overwriting the handler-bearing
tools list with declaration-only stubs, causing tool dispatch to break
and tests to time out.
Also conditionally import Tool in tool.rs (only used with derive/test
features) to silence unused-import lint under --features test-support.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 75f0738 commit 5272bc6
2 files changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
293 | 292 | | |
294 | 293 | | |
295 | 294 | | |
296 | | - | |
297 | 295 | | |
298 | 296 | | |
299 | 297 | | |
| |||
308 | 306 | | |
309 | 307 | | |
310 | 308 | | |
311 | | - | |
312 | 309 | | |
313 | 310 | | |
314 | 311 | | |
| |||
361 | 358 | | |
362 | 359 | | |
363 | 360 | | |
364 | | - | |
365 | 361 | | |
366 | 362 | | |
367 | 363 | | |
| |||
376 | 372 | | |
377 | 373 | | |
378 | 374 | | |
379 | | - | |
380 | 375 | | |
381 | 376 | | |
382 | 377 | | |
| |||
0 commit comments