Table of Contents

Class SubagentProgress

Namespace
JD.AI.Core.Agents.Orchestration
Assembly
JD.AI.Core.dll

Real-time progress snapshot for a subagent, consumed by the progress panel.

public sealed record SubagentProgress : IEquatable<SubagentProgress>
Inheritance
SubagentProgress
Implements
Inherited Members

Constructors

SubagentProgress(string, SubagentStatus, string?, int?, TimeSpan?)

Real-time progress snapshot for a subagent, consumed by the progress panel.

public SubagentProgress(string AgentName, SubagentStatus Status, string? Detail = null, int? TokensUsed = null, TimeSpan? Elapsed = null)

Parameters

AgentName string
Status SubagentStatus
Detail string
TokensUsed int?
Elapsed TimeSpan?

Properties

AgentName

public string AgentName { get; init; }

Property Value

string

Detail

public string? Detail { get; init; }

Property Value

string

Elapsed

public TimeSpan? Elapsed { get; init; }

Property Value

TimeSpan?

Status

public SubagentStatus Status { get; init; }

Property Value

SubagentStatus

TokensUsed

public int? TokensUsed { get; init; }

Property Value

int?