Emerson Gomes

Results 25 comments of Emerson Gomes

Do not use the `@ai-sdk/openai-compatible` provider with Gemini on LiteLLM. Use `@ai-sdk/google` instead

@themw123 This is not true, you can still set the base URL and it will go over LiteLLM, but use the Gemini request format without OpenAI format translation. I am...

> i tried to use the passthrough config from emerzon but it did not work > > Connecting to litellm proxy using openai compatible it works but it stops constantly...

I am using with Vertex, but I don't have `use_in_pass_through: true` in my config. I also have individual model entries for each model: Ie. `gemini-3-pro-preview`, `gemini-3-flash-preview`, etc. My auth to...

> I don't seem to get cost reported on opencode though with this setup, even though my LiteLLM instance returns token usage - any idea how to fix that too?...