Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
155 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
Upgrade to Odoo 19 แก้ไขแล้ว
1
ก.ย. 25
785
0
ก.ค. 23
4
0
ต.ค. 25
5
3
ต.ค. 25
545
0
เม.ย. 25
3096