hotfix error
This commit is contained in:
parent
b17eb86220
commit
d10f0a635a
|
|
@ -174,7 +174,6 @@ public class ConversationStateService : IConversationStateService
|
|||
return endNodes;
|
||||
}
|
||||
|
||||
var _routingContext = _services.GetRequiredService<IRoutingContext>();
|
||||
var curMsgId = _routingContext.MessageId;
|
||||
var dialogs = _db.GetConversationDialogs(conversationId);
|
||||
var userDialogs = dialogs.Where(x => x.MetaData?.Role == AgentRole.User)
|
||||
|
|
|
|||
|
|
@ -39,8 +39,6 @@ public partial class RoutingService
|
|||
await progressService.OnFunctionExecuting(clonedMessage);
|
||||
}
|
||||
|
||||
var agentService = _services.GetRequiredService<IAgentService>();
|
||||
var agent = await agentService.GetAgent(clonedMessage.CurrentAgentId);
|
||||
var hooks = _services.GetHooksOrderByPriority<IConversationHook>(clonedMessage.CurrentAgentId);
|
||||
foreach (var hook in hooks)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue