Cancelled
org.llm4s.agent.graph.GraphError.Cancelled
final case class Cancelled(threadId: Option[String], lastCheckpoint: Option[String]) extends GraphError
The run was cancelled by interrupting its thread. Every task was interrupted and joined. In a durable run, tasks that finished first keep their results as pending writes, and the checkpoint stays Running, so recover continues it without re-running them. An in-memory CompiledGraph.run keeps nothing from the cancelled superstep: its state is the state before that superstep. The interrupt flag is set when this is returned.
Attributes
- Graph
-
- Supertypes
-
trait GraphErrortrait NonRecoverableErrortrait LLMErrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article