How to use Gemini with the OpenAI SDK (JavaScript)
Google’s Gemini models can be used through OpenAI compatible endpoints. That means you can keep using your existing OpenAI SDK or the new OpenAI Agents SDK, and simply point it at Gemini by swapping the base URL and API key.
This guide will show you ...
shravanbhati.hashnode.dev3 min read