We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f314b01 commit 9cb60ebCopy full SHA for 9cb60eb
mcp/src/main/java/io/modelcontextprotocol/client/McpAsyncClient.java
@@ -180,7 +180,7 @@ public class McpAsyncClient {
180
this.clientCapabilities = features.clientCapabilities();
181
this.transport = transport;
182
this.roots = new ConcurrentHashMap<>(features.roots());
183
- this.toolAnnotationsHandler = toolAnnotationsHandler != null ? this.toolAnnotationsHandler : tool -> null;
+ this.toolAnnotationsHandler = toolAnnotationsHandler != null ? toolAnnotationsHandler : tool -> null;
184
// Request Handlers
185
Map<String, RequestHandler<?>> requestHandlers = new HashMap<>();
186
0 commit comments