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
AgentNamestringStatusSubagentStatusDetailstringTokensUsedint?ElapsedTimeSpan?
Properties
AgentName
public string AgentName { get; init; }
Property Value
Detail
public string? Detail { get; init; }
Property Value
Elapsed
public TimeSpan? Elapsed { get; init; }
Property Value
Status
public SubagentStatus Status { get; init; }
Property Value
TokensUsed
public int? TokensUsed { get; init; }
Property Value
- int?