Change summary
internal/fur/provider/provider.go | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
Detailed changes
@@ -44,16 +44,18 @@ type Provider struct {
// Model represents an AI model configuration.
type Model struct {
- ID string `json:"id"`
- Name string `json:"model"`
- CostPer1MIn float64 `json:"cost_per_1m_in"`
- CostPer1MOut float64 `json:"cost_per_1m_out"`
- CostPer1MInCached float64 `json:"cost_per_1m_in_cached"`
- CostPer1MOutCached float64 `json:"cost_per_1m_out_cached"`
- ContextWindow int64 `json:"context_window"`
- DefaultMaxTokens int64 `json:"default_max_tokens"`
- CanReason bool `json:"can_reason"`
- SupportsImages bool `json:"supports_attachments"`
+ ID string `json:"id"`
+ Name string `json:"model"`
+ CostPer1MIn float64 `json:"cost_per_1m_in"`
+ CostPer1MOut float64 `json:"cost_per_1m_out"`
+ CostPer1MInCached float64 `json:"cost_per_1m_in_cached"`
+ CostPer1MOutCached float64 `json:"cost_per_1m_out_cached"`
+ ContextWindow int64 `json:"context_window"`
+ DefaultMaxTokens int64 `json:"default_max_tokens"`
+ CanReason bool `json:"can_reason"`
+ HasReasoningEffort bool `json:"has_reasoning_efforts"`
+ DefaultReasoningEffort string `json:"default_reasoning_effort,omitempty"`
+ SupportsImages bool `json:"supports_attachments"`
}
// KnownProviders returns all the known inference providers.