BotSharp/src/Infrastructure/BotSharp.Abstraction/Instructs/InstructHookBase.cs
2023-10-30 22:47:14 -05:00

19 lines
469 B
C#

using BotSharp.Abstraction.Instructs.Models;
namespace BotSharp.Abstraction.Instructs;
public class InstructHookBase : IInstructHook
{
public virtual string SelfId => throw new NotImplementedException("Please set SelfId as agent id!");
public virtual async Task BeforeCompletion(Agent agent, RoleDialogModel message)
{
return;
}
public virtual async Task AfterCompletion(Agent agent, InstructResult result)
{
return;
}
}