@@ -12,15 +12,13 @@ import React, {
1212import {
1313 CheckCheck ,
1414 SquareMousePointer ,
15- Webhook ,
1615 GitBranch ,
1716 Bell ,
1817 Database ,
1918 SquareTerminal ,
2019 FlaskConical ,
2120 AlertTriangle ,
2221 Globe ,
23- Info ,
2422 MessageSquare ,
2523 LucideIcon ,
2624} from "lucide-react"
@@ -51,9 +49,6 @@ import {
5149
5250import { Tab , TabContent , TabHeader , TabList , TabTrigger } from "../common/Tab"
5351import { SetCachedStateField , SetExperimentEnabled } from "./types"
54- import { SectionHeader } from "./SectionHeader"
55- import ApiConfigManager from "./ApiConfigManager"
56- import ApiOptions from "./ApiOptions"
5752import { AutoApproveSettings } from "./AutoApproveSettings"
5853import { BrowserSettings } from "./BrowserSettings"
5954import { CheckpointSettings } from "./CheckpointSettings"
@@ -62,8 +57,6 @@ import { ContextManagementSettings } from "./ContextManagementSettings"
6257import { TerminalSettings } from "./TerminalSettings"
6358import { ExperimentalSettings } from "./ExperimentalSettings"
6459import { LanguageSettings } from "./LanguageSettings"
65- import { About } from "./About"
66- import { Section } from "./Section"
6760import PromptsSettings from "./PromptsSettings"
6861import { cn } from "@/lib/utils"
6962
@@ -561,55 +554,6 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
561554
562555 { /* Content area */ }
563556 < TabContent className = "p-0 flex-1 overflow-auto" >
564- { /* Providers Section */ }
565- { activeTab === "providers" && (
566- < div >
567- < SectionHeader >
568- < div className = "flex items-center gap-2" >
569- < Webhook className = "w-4" />
570- < div > { t ( "settings:sections.providers" ) } </ div >
571- </ div >
572- </ SectionHeader >
573-
574- < Section >
575- < ApiConfigManager
576- currentApiConfigName = { currentApiConfigName }
577- listApiConfigMeta = { listApiConfigMeta }
578- onSelectConfig = { ( configName : string ) =>
579- checkUnsaveChanges ( ( ) =>
580- vscode . postMessage ( { type : "loadApiConfiguration" , text : configName } ) ,
581- )
582- }
583- onDeleteConfig = { ( configName : string ) =>
584- vscode . postMessage ( { type : "deleteApiConfiguration" , text : configName } )
585- }
586- onRenameConfig = { ( oldName : string , newName : string ) => {
587- vscode . postMessage ( {
588- type : "renameApiConfiguration" ,
589- values : { oldName, newName } ,
590- apiConfiguration,
591- } )
592- prevApiConfigName . current = newName
593- } }
594- onUpsertConfig = { ( configName : string ) =>
595- vscode . postMessage ( {
596- type : "upsertApiConfiguration" ,
597- text : configName ,
598- apiConfiguration,
599- } )
600- }
601- />
602- < ApiOptions
603- uriScheme = { uriScheme }
604- apiConfiguration = { apiConfiguration }
605- setApiConfigurationField = { setApiConfigurationField }
606- errorMessage = { errorMessage }
607- setErrorMessage = { setErrorMessage }
608- />
609- </ Section >
610- </ div >
611- ) }
612-
613557 { /* Auto-Approve Section */ }
614558 { activeTab === "autoApprove" && (
615559 < AutoApproveSettings
@@ -725,11 +669,6 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
725669 { activeTab === "language" && (
726670 < LanguageSettings language = { language || "en" } setCachedStateField = { setCachedStateField } />
727671 ) }
728-
729- { /* About Section */ }
730- { activeTab === "about" && (
731- < About telemetrySetting = { telemetrySetting } setTelemetrySetting = { setTelemetrySetting } />
732- ) }
733672 </ TabContent >
734673 </ div >
735674
0 commit comments