Refactor the InvokeFunction code by categorizing the dummy function, function callback, and MCP tool invocation logic into three distinct classes
16 lines
333 B
C#
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);
|
|
}
|
|
}
|