AiFunctionCallingExecutionError should also be retried
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3537294. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !164
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Currently only the unclear ContextException gets retried in a tool, but we should also retry when AiFunctionCallingExecutionError is thrown.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Make the agent still work and retry on the AiFunctionCallingExecutionError.</p>
issue