Fix compile issue
This commit is contained in:
parent
919ea25ec0
commit
b430f8957d
|
|
@ -61,7 +61,7 @@ public class MCPToolAgentHook : AgentHookBase
|
|||
{
|
||||
var funDef = AIFunctionUtilities.MapToFunctionDef(tool);
|
||||
functionDefs.Add(funDef);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -56,6 +56,6 @@ public class McpPlugin : IBotSharpPlugin
|
|||
var funcTool = new McpToolAdapter(provider, tool, clientManager);
|
||||
return funcTool;
|
||||
});
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue