ToolQuestionRequest

org.llm4s.agent.graph.toolloop.ToolQuestionRequest
See theToolQuestionRequest companion object
final case class ToolQuestionRequest

The question a tool's Ask interrupt carries: the call that asked, from one assistant message, the question encoded with the tool's declared question codec, the call's org.llm4s.agent.graph.IdempotencyKey, and whether the call was approved before it asked - resume sees the same ToolContext.approved and ToolContext.idempotencyKey. Find it with ToolLoop.questions, read its question as the tool's type with ToolLoop.question, and answer it with ToolLoop.answer.

Attributes

Companion
object
Source
ToolLoop.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product