I added the Gemini API in settings, but when I create an AI field and test it I get the error message "No API key set for provider 'openai'"
I don't want to use OpenAI and I don't see how to tell Odoo to use Gemini. It works to ask questions, but not for AI fields.
From what I saw in the code, some actions don't have any alternative provider besides OpenAI. And the possible reason is because the Gemini API token isn't compatible with a specific task because Gemini’s openAI_support doesn’t implement the Responses API yet, which is required for web grounding.
I was trying to switch providers and got this message: only openAI is supported as gemini's openAI_support does not support the responses API # yet, which is required to use web grounding only when needed.
But i’d like to know too if there’s any possible way to make Gemini work with these AI fields tasks.