Gemini is now accessible from the OpenAI Library
Options
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.
- Provider:
Custom
- Endpoint:
https://generativelanguage.googleapis.com/v1beta/openai/chat/completions
- Auth Header:
Authorization
- Header Value:
Bearer [YOUR_API_KEY]
- Model:
gemini-1.5-flash
- Provider:
-
Thanks for sharing that info