MiddlewareAsked
org.llm4s.agent.graph.middleware.MiddlewareAsked
final case class MiddlewareAsked extends LLMError, NonRecoverableError
A middleware's question on its way out of a hook, from AgentMiddleware.Asking.ask: the agent loop suspends the run with it. A wrapper that sees it as next's result passes it on. Outside the loop it is an error: a question nobody can answer.
Attributes
- Graph
-
- Supertypes
-
trait NonRecoverableErrortrait LLMErrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article