PublicAffairs / openai-gemini

Gemini ➜ OpenAI API proxy. Serverless!
https://my-openai-gemini-demo.vercel.app/
MIT License
380 stars 235 forks source link

Error 500: An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting #15

Closed johnd0e closed 1 week ago

johnd0e commented 2 months ago

Recently, the Gemini API when using the model gemini-1.5-pro(-latest) often returns the error:

{
  "error": {
    "code": 500,
    "message": "An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting",
    "status": "INTERNAL"
  }
}

Solution: Use the latest experimental model gemini-1.5-pro-exp-0827.