- Issue created by @jurgenhaas
- Merge request !163Issue #3537123 by jurgenhaas: Exceptions in tool execute break the UI for the user → (Open) created by jurgenhaas
When using the AI Agent Explorer and run an agent that has an issue with a tool definition, e.g. if the context definition isn't accurate, Drupal throws an exception and the UI in the explorer is broken with an error message in the browser console. The user doesn't get any feedback, that the process failed.
The same is likely to happen in other contexts, too, e.g. in the chat.
Let's try and catch such exceptions and provide the exception message as a response to the tool exception.
Active
1.2
Code