File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
webview-ui/src/components/settings/providers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -290,17 +290,17 @@ export const OpenAICompatible = ({
290290 onChange = { ( checked : boolean ) => {
291291 setVerbositySelected ( checked )
292292 if ( ! checked ) {
293- setApiConfigurationField ( "verbosity" , undefined as any )
293+ setApiConfigurationField ( "verbosity" , undefined )
294294 } else if ( ! apiConfiguration . verbosity ) {
295- setApiConfigurationField ( "verbosity" , "medium" as any )
295+ setApiConfigurationField ( "verbosity" , "medium" )
296296 }
297297 } } >
298298 { t ( "settings:providers.verbosity.label" ) }
299299 </ Checkbox >
300300 { verbositySelected && (
301301 < Verbosity
302302 apiConfiguration = { apiConfiguration }
303- setApiConfigurationField = { setApiConfigurationField as any }
303+ setApiConfigurationField = { setApiConfigurationField }
304304 modelInfo = { apiConfiguration . openAiCustomModelInfo || openAiModelInfoSaneDefaults }
305305 />
306306 ) }
You can’t perform that action at this time.
0 commit comments