ToolTask
org.llm4s.agent.graph.toolloop.ToolTask
final case class ToolTask(assistantMessageId: String, call: ToolCall, idempotencyKey: IdempotencyKey)
One model-issued tool call, scheduled as its own task, with the org.llm4s.agent.graph.IdempotencyKey the model step derived for it. The key is recorded with the call rather than derived again where it runs, because recover runs the call at a new checkpoint: every run of the call reads the same key from here.
Attributes
- Source
- ToolLoop.scala
- Graph
-
- Supertypes
Members list
In this article
