org.llm4s.llmconnect.config.ProviderTimeouts
See theProviderTimeouts companion class
object ProviderTimeouts
Attributes
- Companion
- class
- Source
- ProviderTimeouts.scala
- Graph
-
- Supertypes
- Self type
-
ProviderTimeouts.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Builds ProviderTimeouts without checking the values; validated checks them.
Builds ProviderTimeouts without checking the values; validated checks them.
Attributes
- Source
- ProviderTimeouts.scala
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
- Source
- ProviderTimeouts.scala
Concrete fields
No timeout set: each client keeps its own default.
In this article
