Agent instructions and user language token
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3546650. --> Reported by: [anaconda777](https://www.drupal.org/user/3595801) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>In the Agent Instructions text area:<br> [current-user:language] does not work or [current-user:language:name].<br> Some other tokens do work. Looks like AI always thinks the language is english.</p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <p>Please provide information like AI modules enabled, which AI provider, browser, etc.</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