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

anaconda777 created an issue. See original summary.

petar_basic’s picture

This 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.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.