Resolve "Save AI Content Suggestion plugin settings inside ai_content_suggestions.settings config object"
Description
Testing instructions
You need to have ai module installed and one of the providers, like OpenAI or Gemini, etc. Chat operation type needs to have some default provider and model selected.
- First enable ai_content_suggestions module and configure (enable some plugins, better all) it without checking out the branch from this MR. This is needed to test the upgrade path.
- Remember all the configuration settings that were done. Would be nice if for taxonomy suggest plugin the new prompts are created instead of default ones.
- Checkout the branch from this MR.
- Run
drush updb - Check the configuration page
/admin/config/ai/suggestions. Make sure all the configurations are still the same as were set on step 1. - Go to any node edit form, try to use the plugin, for example "Suggest title".
- Check that config objects
ai_content_suggestions.promptsandai_content_suggestions.tonedo not exist anymore.
Checklist
- I have linked the related issue in the MR title or description
- I have performed a self-review of my own code
- I have added or updated tests, or explained in the description why this change is not covered by tests
- I have updated documentation for any new or changed functionality
- I have written testing instructions and verified them locally
- I have noted any required post-merge steps (config imports, cache rebuilds, manual changes)
- This MR contains no breaking API or hook changes, or they are explicitly documented in the description
AI Compliance
Note
Check the one that best describes your usage, or leave all unchecked if AI was not significantly used.
-
AI Assisted Code
Mainly written by a human; AI used for autocomplete or partial generation under full human supervision. -
AI Generated Code
Mainly generated by AI, reviewed and approved by a human before this MR was created. -
Vibe Coded
Generated by AI and only functionally reviewed before this MR was created.
Closes #3586437
Edited by Artem Dmitriiev