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.

CostPerMillionTokens

Gets or sets the blended provider cost per one million tokens.

CredentialKey

Gets or sets the credential lookup key.

Id

Gets or sets the provider identifier.

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.

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

Clone()

Creates a copy of this provider configuration.

EqualsConfiguration(ModelProviderConfig)

Compares this configuration to another configuration instance.