org.llm4s.llmconnect.provider.OpenAICompatibleClient.Settings
See theSettings companion object
Where an OpenAICompatibleClient sends requests, and how it describes itself.
Value parameters
- baseUrl
-
API base URL; requests go to
<baseUrl>/chat/completions. - contextWindow
-
the model's total token capacity.
- credential
-
how requests authenticate; Credential.Anonymous sends no
Authorizationheader. - displayName
-
human-readable name used in log lines and the "already closed" error, e.g.
"DeepSeek". - model
-
model identifier sent in every request.
- network
-
the proxy and TLS settings every request, and every token exchange, goes through.
- providerName
-
metrics and exchange-log label, and the provider named in mapped HTTP errors, e.g.
"deepseek". - reserveCompletion
-
tokens held back from the prompt for the reply.
- timeouts
-
how long a request and a stream may take; absent values keep this client's defaults.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article