- Issue created by @nx2611
When I go to `/media/add/image` and run the Generative Image with AI, I get this error (reported by dblog)
Drupal\ai\Exception\AiRequestErrorException: Error invoking model response: Unknown parameter: 'response_format'. in Drupal\ai\Plugin\ProviderProxy->wrapperCall() (line 241 of /var/www/web/modules/contrib/ai/src/Plugin/ProviderProxy.php).
Operations:
```
#0 /var/www/web/modules/contrib/ai/src/Plugin/ProviderProxy.php(104): Drupal\ai\Plugin\ProviderProxy->wrapperCall(Object(ReflectionMethod), Array)
#1 /var/www/web/modules/contrib/ai_media_image/src/Form/AiMediaImageFormTrait.php(256): Drupal\ai\Plugin\ProviderProxy->__call('textToImage', Array)
#2 /var/www/web/modules/contrib/ai_media_image/src/Form/AiMediaImageFormTrait.php(204): Drupal\ai_media_image\Form\AiMediaImageAddForm->generateImageInAiModule('any cat image', 'openai', 'gpt-image-1', Array)
#3 [internal function]: Drupal\ai_media_image\Form\AiMediaImageAddForm->addAiImage(Array, Object(Drupal\Core\Form\FormState))
#4 /var/www/web/core/lib/Drupal/Core/Form/FormSubmitter.php(129): call_user_func_array(Array, Array)
#5 /var/www/web/core/lib/Drupal/Core/Form/FormSubmitter.php(67): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState))
#6 /var/www/web/core/lib/Drupal/Core/Form/FormBuilder.php(597): Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object(Drupal\Core\Form\FormState))
```
Go to `/media/add/image`
Choose Generative Image with AI
Enter any prompt
Leave the default Provider configurations
Click Generate Image button
I'm using Drupal 10
"drupal/core": "10.3.6",
"drupal/ai": "^1.0",
"drupal/ai_provider_openai": "^1.0",
"drupal/ai_media_image": "^1.0@alpha",
Active
1.0
Code