We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841131b commit c2c8075Copy full SHA for c2c8075
webview-ui/src/components/settings/ApiOptions.tsx
@@ -874,8 +874,11 @@ const ApiOptions = ({
874
}}
875
setApiConfigurationField={(field, value) => {
876
if (field === "reasoningEffort") {
877
+ const openAiCustomModelInfo =
878
+ apiConfiguration.openAiCustomModelInfo || openAiModelInfoSaneDefaults
879
+
880
setApiConfigurationField("openAiCustomModelInfo", {
- ...(apiConfiguration.openAiCustomModelInfo || openAiModelInfoSaneDefaults),
881
+ ...openAiCustomModelInfo,
882
reasoningEffort: value as ReasoningEffortType,
883
})
884
}
0 commit comments