AI Assistant to AI Agents required fields mismatch
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3574181. -->
Reported by: [dan2k3k4](https://www.drupal.org/user/2437398)
Related to !251
>>>
<p>[Tracker]<br>
<strong>Update Summary: </strong>[One-line status update for stakeholders]<br>
<strong>Short Description: </strong>[One-line issue summary for stakeholders]<br>
<strong>Check-in Date: </strong>MM/DD/YYYY<br>
<em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br>
[/Tracker]</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>We have a mismatch of required fields in AI Agents but optional fields in AI Assistant. The AI Assistant should likely set these fields to be required.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4>
<p>Ensure you have: AI, AI Agents, and at least one AI provider installed e.g. via<br>
<code>drush en -y ai ai_agents ai_provider_amazeeio</code><br>
Ensure you setup the AI provider (at least authenticate) via:<br>
<code>/admin/config/ai/providers</code><br>
Then to the AI Assistant page via<br>
<code>/admin/config/ai/ai-assistant</code><br>
Click "Add AI Assistant"<br>
Leave the "Administrative Description" and "Instructions" fields as blank.<br>
Click Save</p>
<p>You'll likely get this error:<br>
<code>Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for ai_agents.ai_agent.article_finder with the following errors: ai_agents.ai_agent.article_finder:tool_settings variable type is NULL but applied schema class is Drupal\Core\Config\Schema\Sequence in Drupal\Core\Config\Development\ConfigSchemaChecker->onConfigSave() (line 98 of core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php).</code></p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Ensure both the description and instruction fields are set to required in AI Assistant.</p>
<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>
<h3 id="summary-ai-usage">AI usage (if applicable)</h3>
<p>[ ] AI Assisted Issue<br>
This issue was generated with AI assistance, but was reviewed and refined by the creator.</p>
<p>[ ] AI Assisted Code<br>
This code was mainly generated by a human, with AI autocompleting or parts AI generated, but under full human supervision.</p>
<p>[ ] AI Generated Code<br>
This code was mainly generated by an AI with human guidance, and reviewed, tested, and refined by a human.</p>
<p>[ ] Vibe Coded<br>
This code was generated by an AI and has only been functionally tested.</p>
issue