CompletedAgentRun

data class CompletedAgentRun<Output>(val output: Output, val score: Double, val isSolved: Boolean, val usedAgent: GraphAIAgent<*, *>? = null)

Result of a successful agent run produced by StageScope.runAgent.

Constructors

Link copied to clipboard
constructor(output: Output, score: Double, isSolved: Boolean, usedAgent: GraphAIAgent<*, *>? = null)

Properties

Link copied to clipboard

true when score meets the session's solved threshold.

Link copied to clipboard

The agent's output for the item.

Link copied to clipboard

The metric score of output against the item.

Link copied to clipboard
val usedAgent: GraphAIAgent<*, *>? = null

The agent instance that was actually used for this run (for feature access, e.g. trace collection).