feat: 新增agent接口
This commit is contained in:
@@ -8,8 +8,8 @@ namespace Yi.Framework.AiHub.Domain.Mcp;
|
||||
public class OnlineSearchTool:ISingletonDependency
|
||||
{
|
||||
[McpServerTool, Description("进行在线搜索")]
|
||||
public void OnlineSearch()
|
||||
public string OnlineSearch(string keyword)
|
||||
{
|
||||
|
||||
return "xxx";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user