Change OnBreakpointUpdated to HardRule

This commit is contained in:
C. Oceania 2024-03-27 15:06:24 -05:00 committed by GitHub
parent 777c10a426
commit 2cb5ccfee0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}
}
}