fix(SettingsDialog): baseURL storage key

This commit is contained in:
Chuck 2024-05-09 15:53:57 +08:00
parent 4f5f6be85f
commit ac4cba32c8
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ const SettingsDialog = ({
setSelectedEmbeddingModelProvider(embeddingModelProvider);
setSelectedEmbeddingModel(embeddingModel);
setCustomOpenAIApiKey(localStorage.getItem('openAIApiKey') || '');
setCustomOpenAIBaseURL(localStorage.getItem('openAIBaseUrl') || '');
setCustomOpenAIBaseURL(localStorage.getItem('openAIBaseURL') || '');
setIsLoading(false);
};