Gemini OpenAI compatible API list models returns 501 Unimplemented

The code from the docs to return list of models using the OpenAI compatible API returns 501 Unimplemented. I used the NodeJS code as-is from OpenAI compatibility  |  Gemini API  |  Google AI for Developers.

1 Like

Hi,

Welcome to the forum.

Yes, unfortunately since a few days it has been introduced.
Previously, it worked to retrieve the list of models.

Cheers.

PS: @Vishal as we spoke about.

1 Like