Cancelled

org.llm4s.agent.graph.GraphError.Cancelled
final case class Cancelled(threadId: Option[String], lastCheckpoint: Option[String]) extends GraphError, NonRecoverableError

The run was cancelled by interrupting its thread - RunHandle.cancel in a runtime, or interrupting the thread driving CompiledGraph.step. Every task was interrupted and joined. In a runtime, tasks that finished first keep their results as pending writes, and the checkpoint stays Running, so recover continues it without re-running them. A step keeps nothing from the cancelled superstep, and returns this with the interrupt flag set.

Attributes

Source
GraphError.scala
Graph
Supertypes
trait GraphError
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Optional error code for programmatic handling

Optional error code for programmatic handling

Attributes

Inherited from:
LLMError
Source
LLMError.scala

Additional context information

Additional context information

Attributes

Inherited from:
LLMError
Source
LLMError.scala

Error correlation IDs for debugging

Error correlation IDs for debugging

Attributes

Inherited from:
LLMError
Source
LLMError.scala

Formatted error message with context

Formatted error message with context

Attributes

Inherited from:
LLMError
Source
LLMError.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

override val message: String

Human-readable error message

Human-readable error message

Attributes

Source
GraphError.scala