Skip to content

Commit 05897da

Browse files
committed
fix: set default codebaseIndexQdrantUrl in settings to ensure proper saving
1 parent 448dc2b commit 05897da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
163163
terminalCompressProgressBar,
164164
condensingApiConfigId,
165165
customCondensingPrompt,
166-
codebaseIndexConfig,
166+
codebaseIndexConfig = {
167+
...extensionState.codebaseIndexConfig,
168+
codebaseIndexQdrantUrl: "http://localhost:6333",
169+
}, //If this default is not set, the default value won't be set in the settings when saving
167170
codebaseIndexModels,
168171
} = cachedState
169172

0 commit comments

Comments
 (0)