File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
webview-ui/src/components/settings Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -900,7 +900,7 @@ const ApiOptions = ({
900
900
} }
901
901
onChange = { handleInputChange ( "openAiCustomModelInfo" , ( e ) => {
902
902
const value = ( e . target as HTMLInputElement ) . value
903
- const parsed = parseInt ( value )
903
+ const parsed = parseFloat ( value )
904
904
return {
905
905
...( apiConfiguration ?. openAiCustomModelInfo ??
906
906
openAiModelInfoSaneDefaults ) ,
@@ -945,7 +945,7 @@ const ApiOptions = ({
945
945
} }
946
946
onChange = { handleInputChange ( "openAiCustomModelInfo" , ( e ) => {
947
947
const value = ( e . target as HTMLInputElement ) . value
948
- const parsed = parseInt ( value )
948
+ const parsed = parseFloat ( value )
949
949
return {
950
950
...( apiConfiguration ?. openAiCustomModelInfo ||
951
951
openAiModelInfoSaneDefaults ) ,
You can’t perform that action at this time.
0 commit comments