Skip to content

AgentResponseChunkEvent

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Progress

AgentResponseChunkEvent Class

A chunk of streaming response text from an agent.

public sealed record AgentResponseChunkEvent : NexusLabs.Needlr.AgentFramework.Progress.IProgressEvent, System.IEquatable<NexusLabs.Needlr.AgentFramework.Progress.AgentResponseChunkEvent>

Inheritance System.Object 🡒 AgentResponseChunkEvent

Implements IProgressEvent, System.IEquatable<AgentResponseChunkEvent>

Constructors

AgentResponseChunkEvent(DateTimeOffset, string, string, string, int, long, string, string) Constructor

A chunk of streaming response text from an agent.

public AgentResponseChunkEvent(System.DateTimeOffset Timestamp, string WorkflowId, string? AgentId, string? ParentAgentId, int Depth, long SequenceNumber, string AgentName, string Text);

Parameters

Timestamp System.DateTimeOffset

WorkflowId System.String

AgentId System.String

ParentAgentId System.String

Depth System.Int32

SequenceNumber System.Int64

AgentName System.String

Text System.String