MiddlewareStack

org.llm4s.agent.graph.middleware.MiddlewareStack
See theMiddlewareStack companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Orders middleware topologically by runsBefore / runsAfter (a.runsBefore(b) and b.runsAfter(a) are the same edge, a outside b), breaking ties by registration order. One ValidationError lists every invalid id, duplicate id, constraint naming an id that is not registered, cycle, and tool name contributed twice by one middleware or by more than one.

Orders middleware topologically by runsBefore / runsAfter (a.runsBefore(b) and b.runsAfter(a) are the same edge, a outside b), breaking ties by registration order. One ValidationError lists every invalid id, duplicate id, constraint naming an id that is not registered, cycle, and tool name contributed twice by one middleware or by more than one.

Attributes

Concrete fields

No middleware: every chain is its innermost function.

No middleware: every chain is its innermost function.

Attributes