IPipelineRunResult
NexusLabs.Needlr.AgentFramework¶
NexusLabs.Needlr.AgentFramework.Diagnostics¶
IPipelineRunResult Interface¶
Aggregated result of a multi-agent pipeline run, providing per-stage diagnostics alongside the response text from each agent.
Properties¶
IPipelineRunResult.AggregateTokenUsage Property¶
Gets the aggregate token usage across all stages. null if diagnostics were not enabled.
Property Value¶
IPipelineRunResult.ErrorMessage Property¶
Gets the error message if any stage failed.
Property Value¶
IPipelineRunResult.Responses Property¶
Gets the responses as a dictionary (agent name → response text).
Property Value¶
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
IPipelineRunResult.Stages Property¶
Gets the per-stage results in execution order.
System.Collections.Generic.IReadOnlyList<NexusLabs.Needlr.AgentFramework.Diagnostics.IAgentStageResult> Stages { get; }
Property Value¶
System.Collections.Generic.IReadOnlyList<IAgentStageResult>
IPipelineRunResult.Succeeded Property¶
Gets whether all stages completed successfully.
Property Value¶
IPipelineRunResult.TotalDuration Property¶
Gets the total wall-clock duration of the pipeline.