Package com.embabel.agent.core.hitl
Class AwaitableResponseException
-
- All Implemented Interfaces:
-
com.embabel.agent.api.tool.ToolControlFlowSignal,java.io.Serializable
public final class AwaitableResponseException extends RuntimeException implements ToolControlFlowSignal
Not an error, but gets special treatment in the platform. Implements ToolControlFlowSignal so it propagates through com.embabel.agent.api.tool.TypedTool.call.
-
-
Constructor Summary
Constructors Constructor Description AwaitableResponseException(Awaitable<?, ?> awaitable)
-
Method Summary
Modifier and Type Method Description final Awaitable<?, ?>getAwaitable()StringtoString()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AwaitableResponseException
AwaitableResponseException(Awaitable<?, ?> awaitable)
-
-
Method Detail
-
getAwaitable
final Awaitable<?, ?> getAwaitable()
-
-
-
-