Commit 6bf980e
committed
fix(sep-2243): forward only signal/timeout to the -32001 recovery refresh
The one-refresh-on-HeaderMismatch recovery in callTool() passed the
caller's full CallToolRequestOptions to _refreshAllToolDefinitions(),
which forwards them to every internal listTools() page. Options like
toolDefinition, headers, and onprogress are tools/call-specific and do
not apply to tools/list — only the abort signal and timeout should
propagate.1 parent 1bed404 commit 6bf980e
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1733 | 1733 | | |
1734 | 1734 | | |
1735 | 1735 | | |
1736 | | - | |
| 1736 | + | |
1737 | 1737 | | |
1738 | 1738 | | |
1739 | 1739 | | |
| |||
1823 | 1823 | | |
1824 | 1824 | | |
1825 | 1825 | | |
1826 | | - | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
1827 | 1830 | | |
1828 | 1831 | | |
1829 | 1832 | | |
| |||
0 commit comments