| 1 | package config |
| 2 | |
| 3 | type ProviderModelOverride struct { |
| 4 | // ReasoningDefaults identifies generated compatibility fields. A changed |
| 5 | // snapshot is treated as user-owned, including edits by older writers. |
| 6 | ReasoningDefaults string `toml:"reasoning_defaults,omitempty"` |
| 7 | ReasoningProtocol string `toml:"reasoning_protocol"` |
| 8 | SupportedEfforts []string `toml:"supported_efforts"` |
| 9 | DefaultEffort string `toml:"default_effort"` |
| 10 | Vision *bool `toml:"vision"` |
| 11 | // ContextWindow overrides the provider-wide context budget for this model. |
| 12 | // Zero inherits ProviderEntry.ContextWindow so existing configurations keep |
| 13 | // their current compaction behavior. |
| 14 | ContextWindow int `toml:"context_window"` |
| 15 | // MaxOutputTokens overrides the provider-wide output budget. Zero inherits; |
| 16 | // positive values set a cap and negative values omit optional wire limits. |
| 17 | MaxOutputTokens int `toml:"max_output_tokens"` |
| 18 | } |
| 19 |