forked from kimhyungsik/ax_hub_mcp_tool
fix(core, gateway): route unknown tools to tool-other and match baseName for hidden tools
This commit is contained in:
@@ -88,7 +88,7 @@ public class BusinessToolController {
|
||||
? mcpProperties.getNamespace() + "_" + baseName
|
||||
: baseName;
|
||||
|
||||
if (expectedName.equals(functionName)) {
|
||||
if (expectedName.equals(functionName) || baseName.equals(functionName)) {
|
||||
targetBean = bean;
|
||||
targetMethod = method;
|
||||
targetFunctionAnnotation = mcpFunc;
|
||||
|
||||
Reference in New Issue
Block a user