ProviderOptions

sealed class ProviderOptions(source)

Typed provider-options boundary (tenet T2).

The full options map is wrapped in Raw (key = provider name, value = provider JSON). Use None as the default when no options are supplied.

Since

0.3.0-beta01

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

No provider-specific options — the neutral default.

Link copied to clipboard
data class Raw(val options: JsonObject) : ProviderOptions

Raw JSON options map. options keys are provider names (e.g. "openai", "anthropic"); values are provider-specific JSON objects.

Functions

Link copied to clipboard
operator fun plus(other: ProviderOptions): ProviderOptions

Deep-merge other on top of these options (other wins on key conflicts).

Link copied to clipboard

Convert to the Map<String, JsonElement> format used internally by providers.