Skip to content

Commit b430f89

Browse files
committed
Fix compile issue
1 parent 919ea25 commit b430f89

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Infrastructure/BotSharp.MCP/Hooks/MCPToolAgentHook.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private async Task<IEnumerable<FunctionDef>> GetMCPContent(Agent agent)
6161
{
6262
var funDef = AIFunctionUtilities.MapToFunctionDef(tool);
6363
functionDefs.Add(funDef);
64-
}*/
64+
}
6565
}
6666
}
6767

src/Infrastructure/BotSharp.MCP/McpPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ private async Task RegisterFunctionCall(IServiceCollection services, McpServerCo
5656
var funcTool = new McpToolAdapter(provider, tool, clientManager);
5757
return funcTool;
5858
});
59-
}*/
59+
}
6060
}
6161
}

src/Infrastructure/BotSharp.OpenAPI/Controllers/AgentController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public async Task<IEnumerable<McpClientTool>> GetMCPTools(string serverId)
181181
var tools = await client.ListToolsAsync();
182182

183183
return tools.Where(x => !string.IsNullOrWhiteSpace(x.Name))
184-
.OrderBy(x => x.Name).ToList();*/
184+
.OrderBy(x => x.Name).ToList();
185185
}
186186

187187
[HttpGet("/agent/labels")]

0 commit comments

Comments
 (0)