Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
160 Visualizações

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.



Avatar
Cancelar

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.

Publicações relacionadas Respostas Visualizações Atividade
1
set. 25
785
0
jul. 23
4
0
out. 25
5
3
out. 25
546
0
abr. 25
3096