({
model,
settings,
}: {
model: ModelInfo
settings?: ProviderSettings
})
| 42 | // Reasoning |
| 43 | |
| 44 | export const shouldUseReasoningBudget = ({ |
| 45 | model, |
| 46 | settings, |
| 47 | }: { |
| 48 | model: ModelInfo |
| 49 | settings?: ProviderSettings |
| 50 | }): boolean => !!model.requiredReasoningBudget || (!!model.supportsReasoningBudget && !!settings?.enableReasoningEffort) |
| 51 | |
| 52 | export const shouldUseReasoningEffort = ({ |
| 53 | model, |
no outgoing calls
no test coverage detected