Package com.embabel.common.core.thinking
Class ThinkingException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class ThinkingException extends Exception
Exception that carries thinking blocks even when LLM operation fails. This preserves the LLM's reasoning process for debugging and analysis.
-
-
Constructor Summary
Constructors Constructor Description ThinkingException(String message, List<ThinkingBlock> thinkingBlocks)
-
Method Summary
Modifier and Type Method Description final List<ThinkingBlock>getThinkingBlocks()-
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
-
getThinkingBlocks
final List<ThinkingBlock> getThinkingBlocks()
-
-
-
-