org.llm4s.agent.graph.middleware.BoundaryResult
See theBoundaryResult companion object
@Experimental
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
Members list
In this article
