- Issue created by @dan_metille
The AI Media Image module currently doesn't dynamically update configuration fields when switching between different AI providers or models. When a user changes the AI provider or selects a different model, the configuration options (like image size, response format, etc.) don't update to reflect the capabilities of the selected provider/model.
This is particularly problematic when switching between models that support different image sizes (e.g., DALL-E 2 vs DALL-E 3), as users may be presented with incompatible options.
Proposed SolutionThis patch implements AJAX functionality to dynamically update the form elements when changing providers or models:
Needs review
1.0
Code