BoundaryResult

org.llm4s.agent.graph.middleware.BoundaryResult
See theBoundaryResult companion object
@Experimental
final case class BoundaryResult

What beforeAgent and afterAgent return: the text - the run's input, or its final answer - possibly changed, and an update to keys the middleware declares in its writes. beforeAgent's commits with the turn's input, so the turn's first model call sees it; afterAgent's with the turn's final answer.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

This result with u applied after its update.

This result with u applied after its update.

Attributes

def withText(t: String): BoundaryResult

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product