Skip to content

Commit 526f3af

Browse files
committed
Clean up code
1 parent 23d6832 commit 526f3af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

webview-ui/src/components/settings/CodeIndexSettings.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,6 @@ export const CodeIndexSettings: React.FC<CodeIndexSettingsProps> = ({
210210
value={codebaseIndexConfig?.codebaseIndexEmbedderProvider || "openai"}
211211
onValueChange={(value) => {
212212
const newProvider = value as EmbedderProvider
213-
const models = codebaseIndexModels?.[newProvider]
214-
const modelIds = models ? Object.keys(models) : []
215213
// Don't reset modelId when provider changes, allow user to manage it explicitly
216214
if (codebaseIndexConfig) {
217215
setCachedStateField("codebaseIndexConfig", {

0 commit comments

Comments
 (0)