Skip to content

Commit 935ef80

Browse files
jiafu1115ericbottard
authored andcommitted
fix typo
Signed-off-by: stroller <[email protected]>
1 parent 8e8654e commit 935ef80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp/common/src/main/java/org/springframework/ai/mcp/McpToolNamePrefixGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public interface McpToolNamePrefixGenerator {
4545
* @return a prefix generator that returns the tool name as-is
4646
*/
4747
static McpToolNamePrefixGenerator noPrefix() {
48-
return (mcpConnectinInfo, tool) -> tool.name();
48+
return (mcpConnectionInfo, tool) -> tool.name();
4949
}
5050

5151
}

0 commit comments

Comments
 (0)