RunResult

org.llm4s.agent.graph.RunResult
enum RunResult[+O]

The outcome of a run.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Completed[O]
class Failed

Members list

Type members

Enum entries

final case class Completed[+O](state: ThreadState, output: O, supersteps: Int) extends RunResult[O]
final case class Failed(state: ThreadState, error: LLMError) extends RunResult[Nothing]

state is the last committed state; the failing superstep's updates are not applied.

state is the last committed state; the failing superstep's updates are not applied.

Attributes