- Issue created by @AlfTheCat
- 🇩🇪Germany marcus_johansson
Could you specify:
* What is your current branch/commit according to composer.lock.
* Which automator type on which field type.
* What AI provider/model combination did you choose for this. - 🇹🇭Thailand AlfTheCat
Hi Marcus,
This turned out to be caused by a field that suffers from the Drupal core bug: 🐛 Not able to add to List field with 0 as the first machine name. Needs work .
I spent a few hours migrating the field data to a new field, and updating all the views that used it. I got a bit further after the offending field was deleted.
I'm not just getting the following errors and an incomplete result with a number of automators not returning data:
Error invoking model response: cURL error 28: Operation timed out after 30002 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.openai.com/v1/chat/completions
and
A general error happened why trying to interpolate, message Error invoking model response: cURL error 28: Operation timed out after 30002 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.openai.com/v1/chat/completions
The taxonomy entity has a lot of automator enabled fields, including two image field. Is that the issue? The execution method is set to "direct". Is the cron/batch method necessitated in this case?
- 🇩🇪Germany marcus_johansson
Ah, this will be fixed with this ticket in the future: https://www.drupal.org/project/ai/issues/3479159 🐛 cURL Timeout and Deprecated Function Error When Using AI Translate Submodule Active
The problem is that the provider client is set to die after 30 seconds because it thinks its stuck in a loop. For now you can set this to fix it, though its not recommended: https://www.jeffgeerling.com/blog/2016/increase-guzzle-http-client-reque...
- 🇹🇭Thailand AlfTheCat
Thanks very much, I modified settings.php and it resolved the issue.