Does new interaction API support vertex ai? #3914
Replies: 1 comment 1 reply
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: Yes, the Interaction API supports Vertex AI, but it requires a different configuration than the AI Studio API key. The 404 error you're seeing is likely due to an authentication or configuration issue. Please ensure you have authenticated for Vertex AI and set the correct environment variables. Hello! Thanks for your question. The ADK is designed to work with both the Gemini API (used by AI Studio) and the Vertex AI API. However, they use different authentication and configuration setups, which is likely the cause of the 404 error you are encountering. Here are the key differences and steps to ensure your environment is set up correctly for Vertex AI:
By default, if To resolve the 404 error, please verify that you have:
Following these steps should correctly configure the ADK to use your Vertex AI setup. Let us know if you continue to experience issues. [1] https://google.github.io/adk-docs/streaming/dev-guide/part1/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried interaction API with vertex ai but get error 404. For the same code, I try with AI studio API key, it works. Seem like this new API does still not support vertex ai?
Beta Was this translation helpful? Give feedback.
All reactions