org.llm4s.llmconnect.config.ProviderTimeouts
See theProviderTimeouts companion class
object ProviderTimeouts
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ProviderTimeouts.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Builds ProviderTimeouts without checking the values; validated checks them.
def validated(request: Option[FiniteDuration], stream: Option[FiniteDuration]): Result[ProviderTimeouts]
Builds ProviderTimeouts, rejecting a value that is not positive.
Builds ProviderTimeouts, rejecting a value that is not positive.
The error names the key as it is written in a section (timeouts.request), so the caller can prefix the section's path.
Value parameters
- request
-
the request timeout, if set
- stream
-
the stream timeout, if set
Attributes
Concrete fields
No timeout set: each client keeps its own default.
No timeout set: each client keeps its own default.
Attributes
In this article