Class LLMConfigurationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tnsai.integration.scop.LLMConfigurationException
All Implemented Interfaces:
Serializable

public class LLMConfigurationException extends RuntimeException
Thrown when an LLMConfigurationSource exists but cannot be turned into an LLMOverrides — unreadable file, malformed JSON, unknown key, non-numeric temperature, and so on.

This is deliberately fatal rather than a fallback. Answering with a model other than the one the operator configured is worse than not answering.

Since:
0.16.4
See Also:
  • Constructor Details

    • LLMConfigurationException

      public LLMConfigurationException(String message)
      Parameters:
      message - what could not be read, including the offending location
    • LLMConfigurationException

      public LLMConfigurationException(String message, Throwable cause)
      Parameters:
      message - what could not be read, including the offending location
      cause - the underlying I/O or parse failure