Gemini is now accessible from the OpenAI Library
Recently, Gemini is now accessible from the OpenAI Library. The LINQPad 8 seems unable to handle OpenAI compatible endpoint. Here is the error message:
Here is my settings:
Recently, Gemini is now accessible from the OpenAI Library. The LINQPad 8 seems unable to handle OpenAI compatible endpoint. Here is the error message:
Here is my settings:
Comments
This OpenAI compatibility page refer to a correct settings. So problem solved.
Custom
https://generativelanguage.googleapis.com/v1beta/openai/chat/completions
Authorization
Bearer [YOUR_API_KEY]
gemini-1.5-flash
Thanks for sharing that info