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

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