How to fix 401 errors with Gemini embeddings

This is Google AI Studio vs Gemini Enterprise Agent Platform (formerly Vertex AI).

For embeddings, we are compatible only with the first one.

We just got a PR to make our LLM inference compatible with the second one, as we were only compatible with the first one for LLMs too.