Skip to content

Commit 688befc

Browse files
authored
Update webview-ui/src/components/settings/ThinkingBudget.tsx
1 parent e59af53 commit 688befc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webview-ui/src/components/settings/ThinkingBudget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export const ThinkingBudget = ({ apiConfiguration, setApiConfigurationField, mod
174174
: undefined) ??
175175
modelInfo?.maxTokens ??
176176
DEFAULT_HYBRID_REASONING_MODEL_MAX_TOKENS
177-
const standaloneMaxOutputTokens = apiConfiguration.modelMaxTokens || defaultMaxOutputTokens
177+
const standaloneMaxOutputTokens = apiConfiguration.modelMaxTokens ?? defaultMaxOutputTokens
178178

179179
if (!modelInfo) {
180180
return null

0 commit comments

Comments
 (0)