Block

org.llm4s.agent.graph.NodeResult.Block
final case class Block(update: StateUpdate, error: LLMError)

Ends the run as a finished failure with error, which is what a guardrail's Block is. update commits with the superstep like any other, together with every sibling's result, and the run's closing checkpoint is CheckpointStatus.Failed: the thread is usable afterwards and recover refuses it. The caller receives error itself, not a GraphError.NodeFailed around it. A blocked task records no pending write, so a process that dies before the closing commit runs the task again.

Attributes

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product