mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +08:00
fix embedding provider precedence settings issue
This commit is contained in:
parent
3534399cd9
commit
654ed4706e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user