WorkflowRun

data class WorkflowRun<O : Any>(val startedAt: Instant, val finishedAt: Instant, val messages: List<Message>, val outcome: Outcome<O>, val modelRequests: List<ModelRequestInfo>, val agentRuns: List<AgentRun<*>>) : Run<O>

Constructors

Link copied to clipboard
constructor(startedAt: Instant, finishedAt: Instant, messages: List<Message>, outcome: Outcome<O>, modelRequests: List<ModelRequestInfo>, agentRuns: List<AgentRun<*>>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val finishedAt: Instant
Link copied to clipboard
open override val messages: List<Message>
Link copied to clipboard
open override val modelRequests: List<ModelRequestInfo>
Link copied to clipboard
open override val outcome: Outcome<O>
Link copied to clipboard
open override val startedAt: Instant

Functions

Link copied to clipboard
Link copied to clipboard
fun <O : Any> Run<O>.inputTokens(): Int
Link copied to clipboard
fun <O : Any> Run<O>.outputTokens(): Int
Link copied to clipboard
Link copied to clipboard