- Issue created by @AlfTheCat
- 🇬🇧United Kingdom MrDaleSmith
Can you confirm which provider you are using?
- 🇹🇭Thailand AlfTheCat
Ah I see my typo. I'm using OpenAI 4o, when switching to OpenAI o1, the error is thrown.
I'm on Drupal 10.4.2 and AI module 1.04.
- 🇬🇧United Kingdom MrDaleSmith
@marcus Would I be right in thinking this needs to be resolved in https://git.drupalcode.org/project/ai_provider_openai/-/blob/1.0.x/src/P... rather than this module?
- Merge request !22Add event subscriber to resolve incorrect config key. #3508042 → (Open) created by MrDaleSmith
- 🇩🇪Germany marcus_johansson
I think in this case the method getModelSettings would do the job, instead of having to invoke an event.
By using unset and setting a new value it should be possible: https://git.drupalcode.org/project/ai_provider_openai/-/blob/1.1.x/src/P...
If that is not true, just set back to RTBC.