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. Built with its update, BoundaryResult(text, update), and added to with addUpdate, as every hook's result is.

Attributes

Companion
object
Source
AgentMiddleware.scala
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

Source
AgentMiddleware.scala

This result with t as its text, keeping its update.

This result with t as its text, keeping its update.

Attributes

Source
AgentMiddleware.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product