Skip to content

Commit 4222e9b

Browse files
committed
fix(webview): preserve unrelated provider settings changes
1 parent 6f8782c commit 4222e9b

5 files changed

Lines changed: 1 addition & 417 deletions

File tree

webview-ui/src/components/settings/providers/OpenAICodex.tsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
import React from "react"
22

3-
import {
4-
OPEN_AI_CODEX_SERVICE_TIER_KEY,
5-
type ProviderSettings,
6-
openAiCodexDefaultModelId,
7-
openAiCodexModels,
8-
} from "@roo-code/types"
3+
import { type ProviderSettings, openAiCodexDefaultModelId, openAiCodexModels } from "@roo-code/types"
94

105
import { useAppTranslation } from "@src/i18n/TranslationContext"
116
import { Button } from "@src/components/ui"
127
import { vscode } from "@src/utils/vscode"
138

149
import { ModelPicker } from "../ModelPicker"
1510
import { OpenAICodexRateLimitDashboard } from "./OpenAICodexRateLimitDashboard"
16-
import { OpenAICodexSpeedSelector } from "./OpenAICodexSpeedSelector"
1711

1812
interface OpenAICodexProps {
1913
apiConfiguration: ProviderSettings
@@ -72,11 +66,6 @@ export const OpenAICodex: React.FC<OpenAICodexProps> = ({
7266
simplifySettings={simplifySettings}
7367
hidePricing
7468
/>
75-
76-
<OpenAICodexSpeedSelector
77-
value={apiConfiguration[OPEN_AI_CODEX_SERVICE_TIER_KEY]}
78-
onValueChange={(value) => setApiConfigurationField(OPEN_AI_CODEX_SERVICE_TIER_KEY, value)}
79-
/>
8069
</div>
8170
)
8271
}

webview-ui/src/components/settings/providers/__tests__/CanonicalProviderIdentifiers.spec.tsx

Lines changed: 0 additions & 92 deletions
This file was deleted.

webview-ui/src/components/settings/providers/__tests__/LiteLLM.spec.tsx

Lines changed: 0 additions & 145 deletions
This file was deleted.

webview-ui/src/components/settings/providers/__tests__/Poe.spec.tsx

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)