org.llm4s.error.ValidationUnsupportedError
See theValidationUnsupportedError companion object
@Stable
final case class ValidationUnsupportedError extends LLMError, NonRecoverableError
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 NonRecoverableErrortrait LLMErrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article
