# Imposible desactivar incrustaciones de IA cuando se han eliminado modelos

**URL:** <https://meta.discourse.org/t/impossible-to-disable-ai-embeddings-when-models-have-been-removed/380088>\
**Category:** Bug\
**Tags:** ai, no-repro\
**Created:** [24 Agosto, 2025 16:34 UTC](https://meta.discourse.org/t/impossible-to-disable-ai-embeddings-when-models-have-been-removed/380088 "2025-08-24T16:34:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Roman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roman/32/157504_2.png) [@Roman](https://meta.discourse.org/u/Roman)\
**Post date:** [25 Agosto, 2025 17:56 UTC](https://meta.discourse.org/t/impossible-to-disable-ai-embeddings-when-models-have-been-removed/380088/3 "2025-08-25T17:56:24Z")

</div>

No pude reproducir el error. ¿Me falta algo?

No ejecutamos ninguna validación al deshabilitar `ai_embeddings_enabled`, solo al habilitar validamos que `ai_embeddings_selected_model` esté configurado:

> <https://github.com/discourse/discourse/blob/main/plugins/discourse-ai/lib/configuration/embeddings_module_validator.rb#L10>

Además, no te permitiremos eliminar la configuración de incrustación si es el modelo actualmente seleccionado:

> <https://github.com/discourse/discourse/blob/main/plugins/discourse-ai/app/controllers/discourse_ai/admin/ai_embeddings_controller.rb#L78>

---

_[View the full topic](https://meta.discourse.org/t/impossible-to-disable-ai-embeddings-when-models-have-been-removed/380088)._
