fix(settings/llm): extra separators

This commit is contained in:
Elian Doran 2025-03-16 23:31:47 +02:00
parent 5d0be300bf
commit 1dafa65b3a
No known key found for this signature in database

View File

@ -575,6 +575,7 @@ export default class AiSettingsWidget extends OptionsWidget {
this.$widget.find('.ai-providers-section').toggle(aiEnabled);
this.$widget.find('.ai-provider').toggle(aiEnabled);
this.$widget.find('.embedding-section').toggle(aiEnabled);
this.$widget.find('hr').toggle(aiEnabled);
// Start or stop polling based on visibility
if (aiEnabled && this.$widget.find('.embedding-section').is(':visible')) {