Repository navigation
Google Gemini #1548
Replies: 3 comments 1 reply
|
I figure how can I do it. |
|
Following up on this properly β you were right that the gateway could already reach Gemini, and you were also right that finding it meant discovering environment variables for yourself. That second part was the actual gap. As of #2090, Google Gemini is a provider in the console. Settings β Deployment & AI, pick it, paste your key. No endpoint to look up, because Gemini has one canonical OpenAI-compatible base and that is now the provider's default; no Two more landed with it, for anyone finding this thread looking for a cloud-hosted model: Google Vertex AI (a service-account JSON as the credential, exchanged for a short-lived token) and AWS Bedrock (either a Bedrock API key or an access-key pair, signed per request). Azure OpenAI was already in the list but could not actually work β it had no endpoint requirement and no Azure-shaped request, so a saved key went somewhere the tenant never chose; that is fixed in the same change. Thanks for raising it, and for coming back to say how you solved it. That second comment is what made the gap legible. |
|
Thanks for raising this, and for coming back with what you found. Your follow-up β "It's only user the environment variables already in place" β was the correct answer at the time, and it is also exactly what was wrong with it: choosing Gemini meant editing a deployment's environment and restarting containers. That is operator work, and picking a model should not require it. Gemini is now a provider you select in the console. Settings β Deployment & AI, choose Google Gemini, paste an API key, save. No environment variables, no Google Vertex AI and AWS Bedrock arrived alongside it. Vertex takes a service account JSON key plus a project id; Bedrock takes either a Bedrock API key or an access-key pair, whose requests are signed. Shipped in #2090. One thing worth stating plainly rather than leaving you to find out: there is no funded credential for these providers here, so no vendor endpoint was contacted. What is tested is the request AiSOC builds for each family β the headers, the URL and the signing β exercised through the real code path against a real HTTP server. Whether Google accepts it on your account is something your own key will establish first. If it does not, please open an issue with what came back and it will be looked at. This stays closed as resolved. Thanks again β the question is what moved this out of the gateway's config file and into the product. |
Uh oh!
There was an error while loading. Please reload this page.
As AISOC use LiteLLM as AI gateway itβs possible to use Google Gemini AI instead of OpenAI or Antrophic
All reactions