Hi HN,<p>I made a TypeScript library that unifies queries with different LLM providers like Anthropic and Gemini into the OpenAI format.<p>When playing around with new models like the new Gemini 2.0, it's frustrating to adapt to the differences in things like streaming, tool calling, json formatting, output formats, etc.<p>This library aims to make it easy to switch between providers, while keeping the OpenAI format, which seems to have become the de-facto standard.
Maybe this can be helpful to others.