Table of Contents

Class AgentResult

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

The result produced by a single subagent execution.

public sealed class AgentResult
Inheritance
AgentResult
Inherited Members

Properties

AgentName

public required string AgentName { get; init; }

Property Value

string

Duration

public TimeSpan Duration { get; init; }

Property Value

TimeSpan

Error

public string? Error { get; init; }

Property Value

string

Events

public IReadOnlyList<AgentEvent> Events { get; init; }

Property Value

IReadOnlyList<AgentEvent>

Output

public required string Output { get; init; }

Property Value

string

Success

public bool Success { get; init; }

Property Value

bool

TokensUsed

public long TokensUsed { get; init; }

Property Value

long