mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +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
|
// Get the current value
|
||||||
const savedValue = $embeddingProviderPrecedence.val() as string;
|
const savedValue = $embeddingProviderPrecedence.val() as string;
|
||||||
|
// If no saved value, don't proceed with initialization to avoid triggering the "empty" change
|
||||||
if (!savedValue) return;
|
if (!savedValue) return;
|
||||||
|
|
||||||
// Get all available providers
|
// Get all available providers
|
||||||
|
|||||||
Reference in New Issue
Block a user