Update RoutingService.InstructLoop.cs

hotfix GetNextStepPrompt error(can't find naive reasoner template)
This commit is contained in:
Haiping 2025-05-19 09:48:16 -05:00 committed by GitHub
parent c6125f4c90
commit 968bac623d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ public partial class RoutingService
var convService = _services.GetRequiredService<IConversationService>();
var storage = _services.GetRequiredService<IConversationStorage>();
_router = await agentService.GetAgent(message.CurrentAgentId);
_router = agent;
var states = _services.GetRequiredService<IConversationStateService>();
var executor = _services.GetRequiredService<IExecutor>();