ToolResult

org.llm4s.agent.graph.toolloop.ToolResult
final case class ToolResult(assistantMessageId: String, toolCallId: String, parts: Vector[ContentPart], isError: Boolean)

The result the loop wrote for one call, waiting for the batch barrier: the parts the call's ToolMessage will carry, or, for an error, its message as one text part.

Attributes

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