Let sub-modules inherit the model to use from AI Core
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3466972. --> Reported by: [wouters_f](https://www.drupal.org/user/721548) Related to !70 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>You can configure a Default model in the ai admin section.<br> This Default is only used in some submodules.<br> In other submodules you can choose a model (but not allow the submodule to inherit the default selection from AI core) so<br> when I switch the default model there might still be places where the other model is used. </p> <p>I think it might be better to support inheriting the Default model in all sub-modules (next to the model selection). </p> <p>This means that everywhere you get the option<br> - choose to inherit the selection from AI Core<br> - Override the selected model just for that submodule (dropdown with all models) </p> <p>This way I can choose to change the model for all implementations if configured correctly. Note that embeddings (AI Search) either should not follow this, or should have warnings to reindex if the embedding model changes. </p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Allow sub-modules to inherit the choice from AI Core. </p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue