Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-breakpoint
This commit is contained in:
commit
fc74da3eb0
|
|
@ -32,8 +32,6 @@ public partial class ConversationService
|
|||
message.SenderId = _user.Id;
|
||||
}
|
||||
|
||||
_storage.Append(_conversationId, message);
|
||||
|
||||
var conv = _services.GetRequiredService<IConversationService>();
|
||||
var dialogs = conv.GetDialogHistory();
|
||||
|
||||
|
|
@ -72,6 +70,12 @@ public partial class ConversationService
|
|||
}
|
||||
}
|
||||
|
||||
// Persist to storage
|
||||
_storage.Append(_conversationId, message);
|
||||
|
||||
// Add to thread
|
||||
dialogs.Add(message);
|
||||
|
||||
if (!stopCompletion)
|
||||
{
|
||||
// Routing with reasoning
|
||||
|
|
|
|||
Loading…
Reference in a new issue