Currently we have the form helper service that you can invoke and that we do invoke at places.
We also have a helper function in the plugin manager that can make a simple list for anyone that would prefer it.
However, every module implements this differently. And stores it differently.
We already have the issue for saving the provider configuration in a structured manner here: ✨ Create linkable schema for providers Active and we might create a follow up to also add a DTO or an object for it, so we have some abstraction around it.
What we need is a common form element.
We have currently one pattern where you choose provider first and model second, this is probably not that useful for anyone that isn't an AI module developer. Most sites has one provider, and some two. Very few has 5 or something like this. So the simple version that show {provider name - model name} is good.
Active
2.0
AI Core module
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.