gpt4all icon indicating copy to clipboard operation
gpt4all copied to clipboard

Google Gemini API Models does not work with OpenAI compatibility

Open akhilesh-d opened this issue 9 months ago • 6 comments
trafficstars

Bug Report

Steps to Reproduce

  1. Add model in GPT4ALL with OpenAI-compatible options.
  2. Provide BASE_URL as https://generativelanguage.googleapis.com/v1beta/openai
  3. BASE MODEL as gemini-1.5-flash and a valid API KEY e.g. Azqqdfwerregb
  4. Use this model to send a question in chat
  5. No response is printed while same API call work via REST API using CURL

Expected Behavior

Your Environment

  • GPT4All version: 3.8.0
  • Operating System: Windows 11
  • Chat model used (if applicable): gemini-1.5-flash

akhilesh-d avatar Feb 02 '25 05:02 akhilesh-d