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
Duration
public TimeSpan Duration { get; init; }
Property Value
Error
public string? Error { get; init; }
Property Value
Events
public IReadOnlyList<AgentEvent> Events { get; init; }
Property Value
Output
public required string Output { get; init; }
Property Value
Success
public bool Success { get; init; }
Property Value
TokensUsed
public long TokensUsed { get; init; }