org.llm4s.error.ContextLengthError
See theContextLengthError companion class
Members list
The names of the product elements
provider refused the request as too long for the model, explaining it with details.
provider refused the request as too long for the model, explaining it with details.
Attributes
-
Source
-
ContextLengthError.scala
Extracts the message, provider, limit and requested tokens; the arity is fixed.
Extracts the message, provider, limit and requested tokens; the arity is fixed.
Attributes
-
Source
-
ContextLengthError.scala
The LLMError.code of every context-length error, whichever provider reported it.