Package com.embabel.agent.core.support
Class InvalidLlmReturnFormatException
-
- All Implemented Interfaces:
-
com.embabel.common.core.types.HasInfoString,java.io.Serializable
public final class InvalidLlmReturnFormatException extends RuntimeException implements HasInfoString
The LLM returned an object of the wrong type.
-
-
Constructor Summary
Constructors Constructor Description InvalidLlmReturnFormatException(String llmReturn, Class<?> expectedType, Throwable cause)
-
Method Summary
Modifier and Type Method Description final StringgetLlmReturn()final Class<?>getExpectedType()StringinfoString(Boolean verbose, Integer indent)-
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
-
-
Method Detail
-
getLlmReturn
final String getLlmReturn()
-
getExpectedType
final Class<?> getExpectedType()
-
infoString
String infoString(Boolean verbose, Integer indent)
-
-
-
-