Fix compile issue

This commit is contained in:
geffzhang 2025-03-29 10:23:54 +08:00
parent 919ea25ec0
commit b430f8957d
3 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ public class MCPToolAgentHook : AgentHookBase
{
var funDef = AIFunctionUtilities.MapToFunctionDef(tool);
functionDefs.Add(funDef);
}*/
}
}
}

View file

@ -56,6 +56,6 @@ public class McpPlugin : IBotSharpPlugin
var funcTool = new McpToolAdapter(provider, tool, clientManager);
return funcTool;
});
}*/
}
}
}

View file

@ -181,7 +181,7 @@ public class AgentController : ControllerBase
var tools = await client.ListToolsAsync();
return tools.Where(x => !string.IsNullOrWhiteSpace(x.Name))
.OrderBy(x => x.Name).ToList();*/
.OrderBy(x => x.Name).ToList();
}
[HttpGet("/agent/labels")]