Add event for most recent response
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3522896. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !107 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Currently we only have an event that is triggered while building the system prompt, however another event that would be useful is to see the result of every loop.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Add another even called AgentResponseEvent<br> Run it after the chat response comes back. Currently it will only work for none streamed responses.<br> The even should give back the full chat history, the latest response, the system prompt that was ussed, the user prompt that was used, the current loop.</p>
issue