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 = ({
900900 } }
901901 onChange = { handleInputChange ( "openAiCustomModelInfo" , ( e ) => {
902902 const value = ( e . target as HTMLInputElement ) . value
903- const parsed = parseInt ( value )
903+ const parsed = parseFloat ( value )
904904 return {
905905 ...( apiConfiguration ?. openAiCustomModelInfo ??
906906 openAiModelInfoSaneDefaults ) ,
@@ -945,7 +945,7 @@ const ApiOptions = ({
945945 } }
946946 onChange = { handleInputChange ( "openAiCustomModelInfo" , ( e ) => {
947947 const value = ( e . target as HTMLInputElement ) . value
948- const parsed = parseInt ( value )
948+ const parsed = parseFloat ( value )
949949 return {
950950 ...( apiConfiguration ?. openAiCustomModelInfo ||
951951 openAiModelInfoSaneDefaults ) ,
You can’t perform that action at this time.
0 commit comments