fix: allow none reasoning effort in ThinkingBudget

This commit is contained in:
Hannes Rudolph 2025-11-10 14:23:49 -07:00
parent 064064a31a
commit 800a9a86c4

View file

@ -34,7 +34,7 @@ const shouldShowMinimalOption = (
provider: string | undefined,
modelId: string | undefined,
supportsEffort: boolean | undefined,
modelDefaultEffort?: ReasoningEffortWithMinimal | undefined,
modelDefaultEffort?: ReasoningEffortWithMinimalOrNone | undefined,
): boolean => {
const isGpt5Model = provider === "openai-native" && modelId?.startsWith("gpt-5")
const isOpenRouterWithEffort = provider === "openrouter" && supportsEffort === true