Function: allowedEfforts()
function allowedEfforts(model): readonly OpenAIEffort[];
Defined in: providers/openai-models.ts:111
Effort levels a model offers.
⚠️ NOT load-bearing. mapThinkingToEffort() already guarantees the string 'none' never leaves this process, so a wrong entry here cannot produce a 400. This exists to tell a UI which levels to show, and to give clampEffort() something to clamp against.
Parameters
| Parameter | Type |
|---|---|
model | string |
Returns
readonly OpenAIEffort[]