fix embedding provider precedence settings issue

This commit is contained in:
perf3ct 2025-03-24 22:29:26 +00:00
parent 3534399cd9
commit 654ed4706e
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232

View File

@ -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