Overview
Currently the error message says that something went wrong and that you should retry.
An error occurred while processing your request. Please try again.
Not all errors will be related to something that could be retried, and we should try to catch them, but for things where it might be a hickup in the provider, the AI missunderstanding or something else, we should add a call to action message instead, that you can easily just responde "yes" to.
The chat history is currently sent, including error messages.
Also the current error message is not translated. The providers handles 40 languages, so it should be possible to use the chat in any of those 40 languages.
Proposed resolution
- Change the error message to "An error occurred while processing your request. Would you like me to try again?".
- Make the error message translatable.
User interface changes
Issue fork canvas-3546676
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
utkarsh_33 commented