feat: 新增tools接口
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.ComponentModel;
|
||||
using ModelContextProtocol.Server;
|
||||
using Volo.Abp.DependencyInjection;
|
||||
|
||||
namespace Yi.Framework.AiHub.Domain.Mcp;
|
||||
|
||||
[McpServerToolType]
|
||||
public class DeepThinkTool:ISingletonDependency
|
||||
{
|
||||
[McpServerTool, Description("进行深度思考")]
|
||||
public void DeepThink()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user