mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
fix embedding provider precedence settings issue
This commit is contained in:
@@ -1874,6 +1874,7 @@ export default class AiSettingsWidget extends OptionsWidget {
|
||||
|
||||
// Get the current value
|
||||
const savedValue = $embeddingProviderPrecedence.val() as string;
|
||||
// If no saved value, don't proceed with initialization to avoid triggering the "empty" change
|
||||
if (!savedValue) return;
|
||||
|
||||
// Get all available providers
|
||||
|
||||
Reference in New Issue
Block a user