2023-09-03 04:11:53 +00:00
|
|
|
namespace BotSharp.Abstraction.Routing;
|
|
|
|
|
|
|
|
|
|
public interface IRoutingService
|
|
|
|
|
{
|
2023-10-30 16:48:18 +00:00
|
|
|
Agent Router { get; }
|
2023-10-20 23:57:45 +00:00
|
|
|
void ResetRecursiveCounter();
|
2023-10-30 16:48:18 +00:00
|
|
|
Task<bool> InvokeAgent(string agentId, List<RoleDialogModel> dialogs);
|
|
|
|
|
Task<RoleDialogModel> InstructLoop(RoleDialogModel message);
|
|
|
|
|
Task<RoleDialogModel> ExecuteOnce(Agent agent, RoleDialogModel message);
|
2023-09-03 04:11:53 +00:00
|
|
|
}
|