JAgent

org.llm4s.javaapi.JAgent
See theJAgent companion class
object JAgent

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
JAgent.type

Members list

Value members

Concrete methods

def pending(result: JAgentResult): List[PendingInterrupt]

What result's turn waits for: for a SUSPENDED turn, its pending approvals, then its questions, as PendingInterrupts; an empty list for a turn that completed, was blocked, reached its step limit, or a null result. The list is unmodifiable. A shortcut for result.status().pending(). Answer them with Answer and continue with JAgent.resume or JAgent.streamResume.

What result's turn waits for: for a SUSPENDED turn, its pending approvals, then its questions, as PendingInterrupts; an empty list for a turn that completed, was blocked, reached its step limit, or a null result. The list is unmodifiable. A shortcut for result.status().pending(). Answer them with Answer and continue with JAgent.resume or JAgent.streamResume.

Attributes