Update RoutingService.InvokeFunction.cs

This commit is contained in:
C. Oceania 2024-03-28 16:44:57 -05:00 committed by GitHub
parent 6ecf249dd7
commit ffe9fb81b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,11 +69,11 @@ public partial class RoutingService
} }
// Save to Storage as well // Save to Storage as well
if (!message.StopCompletion && message.FunctionName != "route_to_agent") /*if (!message.StopCompletion && message.FunctionName != "route_to_agent")
{ {
var storage = _services.GetRequiredService<IConversationStorage>(); var storage = _services.GetRequiredService<IConversationStorage>();
storage.Append(Context.ConversationId, message); storage.Append(Context.ConversationId, message);
} }*/
return result; return result;
} }