Skip to content

LlmCallCompletedEvent

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Progress

LlmCallCompletedEvent Class

An LLM response has been received.

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

Inheritance System.Object 🡒 LlmCallCompletedEvent

Implements IProgressEvent, System.IEquatable<LlmCallCompletedEvent>

Constructors

LlmCallCompletedEvent(DateTimeOffset, string, string, string, int, long, int, string, TimeSpan, long, long, long) Constructor

An LLM response has been received.

public LlmCallCompletedEvent(System.DateTimeOffset Timestamp, string WorkflowId, string? AgentId, string? ParentAgentId, int Depth, long SequenceNumber, int CallSequence, string Model, System.TimeSpan Duration, long InputTokens, long OutputTokens, long TotalTokens);

Parameters

Timestamp System.DateTimeOffset

WorkflowId System.String

AgentId System.String

ParentAgentId System.String

Depth System.Int32

SequenceNumber System.Int64

CallSequence System.Int32

Model System.String

Duration System.TimeSpan

InputTokens System.Int64

OutputTokens System.Int64

TotalTokens System.Int64