Save function result to Storage
This commit is contained in:
parent
714cbae6c6
commit
9f79dcf4a8
|
|
@ -68,6 +68,10 @@ public partial class RoutingService
|
|||
message.FunctionName = originalFunctionName;
|
||||
}
|
||||
|
||||
// Save to Storage as well
|
||||
var storage = _services.GetRequiredService<IConversationStorage>();
|
||||
storage.Append(Context.ConversationId, message);
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue