ValidationUnsupportedError

org.llm4s.error.ValidationUnsupportedError
See theValidationUnsupportedError companion object
@Stable

LLMClient.validate() was called on a client that has no request to check itself with, so nothing was checked (#2830). It is the default of validate(): a provider client returns it when its provider offers no cheap authenticated request, and so does any client that does not implement the check.

It says nothing about whether the client works. Match on it to tell "could not check" from "checked, and it failed", and check such a client with a small completion instead.

Value parameters

client

what could not be checked: the client's description, e.g. BedrockClient

Attributes

Companion
object
Source
ValidationUnsupportedError.scala
Graph
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Optional error code for programmatic handling

Optional error code for programmatic handling

Attributes

Inherited from:
LLMError
Source
LLMError.scala

Error correlation IDs for debugging

Error correlation IDs for debugging

Attributes

Inherited from:
LLMError
Source
LLMError.scala

Formatted error message with context

Formatted error message with context

Attributes

Inherited from:
LLMError
Source
LLMError.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

override val context: Map[String, String]

Additional context information

Additional context information

Attributes

Source
ValidationUnsupportedError.scala