Class AgenticSystemSuspendedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.langchain4j.agentic.scope.AgenticSystemSuspendedException
- All Implemented Interfaces:
Serializable
Thrown when a persistent agentic system suspends because it contains unresolved
SuspendedResponse entries (typically
from a HumanInTheLoop agent). The system's state has been checkpointed
and the calling thread is released.
To resume the agentic system:
- Provide the human response via
AgenticScope.completePendingResponse(String, Object)orAgenticScope.writeState(String, Object) - Re-invoke the agent method with the same memory ID
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AgenticSystemSuspendedException
-
-
Method Details
-
scope
-