Combination of 'Suggest taxonomy terms' and 'Use source vocabulary' does not use configured prompt
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3546590. --> Reported by: [akhil babu](https://www.drupal.org/user/3632866) Related to !880 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>While testing taxonomy term generation with the AI Content Suggestions module, noticed that when the 'Use source vocabulary' option is selected, the ID of the prompt (suggest_vocabulary__suggest_vocabulary_default) entity is sent as the instruction to the model instead of the actual prompt.</p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <ol> <li>Install ai and ai_content_suggestion ai_logging modules</li> <li>Go to 'admin/config/ai/logging/settings' and enable logging requests and responses.</li> <li>Add two vocabularies and add some terms to both.</li> <li>Go to '/admin/config/ai/suggestions' and Enable Taonomy term suggestion.</li> <li>Open an existing node, try the taxonomy generation by selecting 'Use source vocabulary' option.</li> <li>The terms may get generated. Check the AI log under admin/config/ai/logging/collection</li> </ol> <p><img src="https://www.drupal.org/files/issues/2025-09-14/taxonomy-suggestion.png" alt="/files/issues/2025-09-14/taxonomy-suggestion.png"></p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3>
issue