Add a postSetup method that is running for the SetupAIProvivder action
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3503959. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Currently we have a setupAiProvider action that is used in Drupal CMS. The problem is that this can't do any validation or messaging.</p> <p>Because OpenAI is used by many people that might setup an API key for the first time, they might not know about the rate limits - and there is no way for us to inform about this.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Add a postSetup method that can run after setup on Drupal CMS.<br> Do not add it to the interface, but do add it to the base class.<br> Do add the method to run at the end of the action.</p>
issue