Skip to content

Commit c2c8075

Browse files
committed
Consistency
1 parent 841131b commit c2c8075

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,8 +874,11 @@ const ApiOptions = ({
874874
}}
875875
setApiConfigurationField={(field, value) => {
876876
if (field === "reasoningEffort") {
877+
const openAiCustomModelInfo =
878+
apiConfiguration.openAiCustomModelInfo || openAiModelInfoSaneDefaults
879+
877880
setApiConfigurationField("openAiCustomModelInfo", {
878-
...(apiConfiguration.openAiCustomModelInfo || openAiModelInfoSaneDefaults),
881+
...openAiCustomModelInfo,
879882
reasoningEffort: value as ReasoningEffortType,
880883
})
881884
}

0 commit comments

Comments
 (0)