Commit c39f515
committed
Fix: prevent infinite recursion in listTools() when nextCursor is empty string
Signed-off-by: lance <[email protected]>1 parent 2ee5853 commit c39f515
File tree
2 files changed
+275
-218
lines changed- mcp-core/src
- main/java/io/modelcontextprotocol/client
- test/java/io/modelcontextprotocol/client
2 files changed
+275
-218
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
630 | 633 | | |
631 | 634 | | |
632 | 635 | | |
| |||
0 commit comments