File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
webview-ui/src/components/settings Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ export type ProviderSettingsEntry = z.infer<typeof providerSettingsEntrySchema>
5555const baseProviderSettingsSchema = z . object ( {
5656 includeMaxTokens : z . boolean ( ) . optional ( ) ,
5757 diffEnabled : z . boolean ( ) . optional ( ) ,
58+ diffViewAutoFocus : z . boolean ( ) . optional ( ) ,
59+ autoCloseRooTabs : z . boolean ( ) . optional ( ) ,
60+ autoCloseAllRooTabs : z . boolean ( ) . optional ( ) ,
5861 fuzzyMatchThreshold : z . number ( ) . optional ( ) ,
5962 modelTemperature : z . number ( ) . nullish ( ) ,
6063 rateLimitSeconds : z . number ( ) . optional ( ) ,
@@ -338,6 +341,9 @@ export const PROVIDER_SETTINGS_KEYS = keysOf<ProviderSettings>()([
338341 // Generic
339342 "includeMaxTokens" ,
340343 "diffEnabled" ,
344+ "diffViewAutoFocus" ,
345+ "autoCloseRooTabs" ,
346+ "autoCloseAllRooTabs" ,
341347 "fuzzyMatchThreshold" ,
342348 "modelTemperature" ,
343349 "rateLimitSeconds" ,
Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ const ApiOptions = ({
464464 diffEnabled = { apiConfiguration . diffEnabled }
465465 diffViewAutoFocus = { apiConfiguration . diffViewAutoFocus }
466466 autoCloseRooTabs = { apiConfiguration . autoCloseRooTabs }
467- autoCloseAllRooTabs = { apiConfiguration . autoCloseAllRooTabs } // Pass new setting
467+ autoCloseAllRooTabs = { apiConfiguration . autoCloseAllRooTabs }
468468 fuzzyMatchThreshold = { apiConfiguration . fuzzyMatchThreshold }
469469 onChange = { ( field , value ) => setApiConfigurationField ( field , value ) }
470470 />
You can’t perform that action at this time.
0 commit comments