BotSharp/IFunctionExecutor.cs
geffzhang 927184efee Refactor InvokeFunction code
Refactor the InvokeFunction code by categorizing the dummy function, function callback, and MCP tool invocation logic into three distinct  classes
2025-05-01 16:47:16 +08:00

16 lines
333 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BotSharp.Core.Routing
{
public interface IFunctionExecutor
{
public Task<bool> Execute(RoleDialogModel message);
public Task<string> GetIndication(RoleDialogModel message);
}
}