RGJ
(Richard - Communiteq)
1
- Create AI embedding models
- Enable
AI embeddings enabled
…
- Remove models
- Try to disable
AI embeddings enabled
This is impossible. When disabling, the error ai_embeddings_enabled: Set ‘ai embeddings selected model’ first appears.
Expected: this should only trigger when the setting is switched from off to on, not from on to off.
Or better: don’t allow to remove all models if the setting is enabled.
3 Mi Piace
sam
(Sam Saffron)
2
@Roman can you have a quick look at this, looks like an easy fix.
3 Mi Piace
Roman
(Roman Rizzi)
3
I couldn’t reproduce the bug. Am I missing something?
We don’t run any validations when disabling ai_embeddings_enabled
, only when enabling we validate ai_embeddings_selected_model
is set:
Also, we won’t let you delete the embedding config if it’s the currently selected model:
2 Mi Piace
RGJ
(Richard - Communiteq)
4
I can’t reproduce anymore either, weird. Feel free to close this.
2 Mi Piace