From 2cb5ccfee012d8df3858e02cdd1c63862d715009 Mon Sep 17 00:00:00 2001 From: "C. Oceania" Date: Wed, 27 Mar 2024 15:06:24 -0500 Subject: [PATCH] Change OnBreakpointUpdated to HardRule --- src/Plugins/BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs b/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs index 8d5ed278..1f58faa0 100644 --- a/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs +++ b/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs @@ -203,7 +203,7 @@ public class StreamingLogHook : ConversationHookBase, IContentGeneratingHook, IR Name = agent.Name, AgentId = agentId, ConversationId = conversationId, - Source = ContentLogSource.FunctionCall, + Source = ContentLogSource.HardRule, Message = new RoleDialogModel(AgentRole.Assistant, "OnBreakpointUpdated") { MessageId = _routingCtx.MessageId @@ -379,4 +379,4 @@ public class StreamingLogHook : ConversationHookBase, IContentGeneratingHook, IR return JsonSerializer.Serialize(log, _options.JsonSerializerOptions); } -} \ No newline at end of file +}