[BREAKING] Remove NotifyThreadOfNewMessagesAsync AIAgent helper (#2450)

* Remove NotifyThreadOfNewMessagesAsync helper from AIAgent

* Fix bug

* Update comment
This commit is contained in:
westey
2025-11-25 11:59:26 +00:00
committed by GitHub
parent 1dde57981e
commit b6c3b8d3f2
10 changed files with 31 additions and 181 deletions
@@ -68,9 +68,6 @@ internal sealed class WorkflowThread : AgentThread
public CheckpointInfo? LastCheckpoint { get; set; }
protected override Task MessagesReceivedAsync(IEnumerable<ChatMessage> newMessages, CancellationToken cancellationToken = default)
=> this.MessageStore.AddMessagesAsync(newMessages, cancellationToken);
public override JsonElement Serialize(JsonSerializerOptions? jsonSerializerOptions = null)
{
JsonMarshaller marshaller = new(jsonSerializerOptions);