WSOD when an AI provider is installed but not configured
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3572648. -->
Reported by: [mxr576](https://www.drupal.org/user/315522)
Related to !12
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Cross posting this issue from the <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/gemini_provider/issues/3572638" title="Status: Closed (fixed)">#3572638: WSOD after module enabled</a></span> because until <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-1"><a href="https://www.drupal.org/project/ai/issues/3572645" title="Status: Active">#3572645: Provide proper support for "unconfigured" AI provider state</a></span> gets resolved, the AI dashboard should handle better when an AI provider module is installed but not configured, especially because it exposes a UI component for configuring installed but not configured AI providers.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-introduced-terminology">Introduced terminology</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
<h3 id="summary-release-notes">Release notes snippet</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 auto-completing 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>
> Related issue: [Issue #3572645](https://www.drupal.org/node/3572645)
> Related issue: [Issue #3572638](https://www.drupal.org/node/3572638)
issue