Problem/Motivation
When I run cron, I get these:
Drupal\ai\Exception\AiResponseErrorException: Something undefined was broken in the response from Mistral AI: stat(): stat failed for /var/www/html/test_branch/web/sites/default/files/translations/taxonomy_manager-2.0.19.uk.po in Drupal\ai_provider_mistral\Plugin\AiProvider\MistralProvider->errorCatcher() (line 318 of /var/www/html/test_branch/web/modules/contrib/ai_provider_mistral/src/Plugin/AiProvider/MistralProvider.php).
I have the key in the Mistral AI provider and I have been able to use it.
I also have AI_TMGMT and some translation jobs, not sure is this related.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
petar_basic commentedThis most likely got fixed with the changes from Issue #3564465: "fix AiResponseErrorException raising wrong exceptions due to deprecation notices"
Also the module switched to "partitech/php-mistral so error handling works well now.