We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2334de commit 4fde524Copy full SHA for 4fde524
src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.SendMessage.cs
@@ -171,18 +171,4 @@ await hook.OnResponseGenerated(response)
171
// Add to dialog history
172
_storage.Append(_conversationId, response);
173
}
174
-
175
- private List<IConversationHook> ReOrderConversationHooks(List<IConversationHook> hooks)
176
- {
177
- var target = "ChatHubConversationHook";
178
- var chathub = hooks.FirstOrDefault(x => x.GetType().Name == target);
179
- var otherHooks = hooks.Where(x => x.GetType().Name != target).ToList();
180
181
- if (chathub != null)
182
183
- var newHooks = new List<IConversationHook> { chathub }.Concat(otherHooks);
184
- return newHooks.ToList();
185
- }
186
- return hooks;
187
188
0 commit comments