MiddlewareQuestionRequest

org.llm4s.agent.graph.toolloop.MiddlewareQuestionRequest
See theMiddlewareQuestionRequest companion object
final case class MiddlewareQuestionRequest

The question a middleware interrupt asks (org.llm4s.agent.graph.middleware.AgentMiddleware.Asking): middleware of agent agent's stack asked question, encoded with its declared question codec, from hook. Read it as the middleware's type with ToolLoop.middlewareQuestion; answer it with the middleware's answer type.

The rest is what the hook runs again with once answered: the turn's input (BeforeAgent); the tool call and whether it was approved (WrapToolCall); and the answers other questions of the same hook run were answered with.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product