Table of Contents

Class ModelProviderConfig

Namespace
Oscova.Agents.Llm
Assembly
Oscova.Agents.dll

Stores one configured language model provider entry.

public class ModelProviderConfig

Inheritance

Inherited Members

Properties

BaseUrl

Gets or sets the optional service base URL.

ChatOptions

Gets or sets the chat options for the provider.

ContextWindowSize

Gets or sets the model context window size.

CredentialKey

Gets or sets the credential lookup key.

Id

Gets or sets the provider identifier.

InputCostPerMillionTokens

Gets or sets the standard input price in USD per million tokens.

IsLocalEndpoint

Gets or sets whether the endpoint is explicitly local; null infers from the resolved address.

ModelId

Gets or sets the model identifier.

Name

Gets or sets the display name.

OllamaKeepAlive

Gets or sets the Ollama model keep-alive duration to send with chat requests.

Options

Gets or sets non-secret, provider-owned configuration options.

OutputCostPerMillionTokens

Gets or sets the standard output price in USD per million tokens.

SupportsImages

Gets or sets whether the provider supports image input.

SupportsThinking

Gets or sets whether the provider supports reasoning output.

Type

Gets or sets the provider type.

VectorDimensions

Gets or sets the embedding vector dimensions.

Methods

AreOptionsEqual(IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?)

Compares exact option keys and values independently of order and dictionary comparers.

Clone()

Creates a copy of this provider configuration.

EqualsConfiguration(ModelProviderConfig)

Compares this configuration to another configuration instance.