org.llm4s.agent.graph.toolloop.LockSchedule
See theLockSchedule companion object
final case class LockSchedule(locks: Map[String, Vector[String]], waiting: Vector[ToolTask], refused: Set[String])
One batch's lock schedule (AgentToolSpec.withLocks), stored in ToolLoop.queue: the locks each call was scheduled with, by call id and rendered (LockKey.render, which LockKey(_) reads back), and the calls still to run, in call order. The batch keeps the order its schedule gives, whatever the lock functions say by the time a later round, a resume or a recover runs.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article