BedrockProvider loads config for a model via hardcoded strings, this makes it very difficult to add new models without either swapping this class out or patching the module.
We should turn the models into plugins and provide some interfaces to make this easier to extend.
Try add a new model that doesn't have one of the strings in BedrockProvider. See it doesn't get called.
Add a plugin manager for the models
Add some interfaces to ensure the models have a defined contract.
Do the work
Review
Merge
N/A
New interfaces introduced
Models are now plugins
N/A
Needs review
1.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.