Commit 992cc77
Fix CallToolWithExecutor Error (#359)
* Fix ResponseFactory::map() method not found error in CallToolWithExecutor
- Call ->responses() first to get Collection before using ->map() and ->contains()
- Fixes BadMethodCallException when executing MCP tools
- Resolves issue where ResponseFactory was being treated as a Collection
* Revert "Fix ResponseFactory::map() method not found error in CallToolWithExecutor"
This reverts commit 8d5360e.
* Fix ResponseFactory::map() method not found error in CallToolWithExecutor
- Call ->responses() first to get Collection before using ->map() and ->contains()
- Fixes BadMethodCallException when executing MCP tools
- Resolves issue where ResponseFactory was being treated as a Collection
* Add comprehensive tests for CallToolWithExecutor fix
- Add 5 test cases covering ResponseFactory fix
- Tests verify ->responses()->map() works correctly
- Tests cover error handling and validation
- Add PR description document
* Remove PR description file from repository
* Remove Unnecessary Test
Signed-off-by: Pushpak Chhajed <[email protected]>
* Bump minimum mcp package
Signed-off-by: Pushpak Chhajed <[email protected]>
---------
Signed-off-by: Pushpak Chhajed <[email protected]>
Co-authored-by: Pushpak Chhajed <[email protected]>1 parent 7e676d7 commit 992cc77
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
0 commit comments