mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-14 15:34:42 +00:00
Roman Rizzi
1572068735
DEV: Improve embedding configs validations (#1101)
Before this change, we let you set the embeddings selected model back to " " even with embeddings enabled. This will leave the site in a broken state. Additionally, it adds a fail-safe for these scenarios to avoid errors on the topics page.
Discourse AI Plugin
Plugin Summary
For more information, please see: https://meta.discourse.org/t/discourse-ai/259214?u=falco
Languages
Ruby
79.8%
JavaScript
16.8%
SCSS
1.9%
CSS
0.6%
HTML
0.5%
Other
0.4%