Settings
org.llm4s.llmconnect.provider.OpenAICompatibleClient.Settings
final case class Settings(providerName: String, displayName: String, model: String, baseUrl: String, credential: Credential, contextWindow: Int, reserveCompletion: Int, timeouts: ProviderTimeouts)
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.
- 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.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article