Is Google ADK's LlmAgent not compatible with deploying to AgentEngine? #2087
Replies: 2 comments
-
Can you please ensure that your local Colab changes are in line with what is recommended here: https://google.github.io/adk-docs/deploy/agent-engine/ At the very least i can see that the public colab doesn't have this:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
This worked! Thank you for pointing that out. I wonder if google could provide a better error in this situation. I am trying to duplicate this work locally, and deploy via terminal but having the same error. (further context, I am running a python shim via rye) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
OS: Colab
ADK Version: 1.7.0
I successfully ran https://colab.research.google.com/github/GoogleCloudPlatform/generative-ai/blob/main/gemini/agent-engine/intro_agent_engine.ipynb as is.
Then, I edited the example:
https://colab.research.google.com/github/GoogleCloudPlatform/generative-ai/blob/main/gemini/agent-engine/intro_agent_engine.ipynb
To use an
LlmAgent
fromgoogle-adk
and I get a permissions error on the
agent_engines.create(
line:Account's Roles: AI Platform Admin, Editor, Owner, Service Usage Admin, Service Usage Consumer, Vertex AI Administrator, Vertex AI User
Enabled APIs: Vertex AI Search for commerce API, Vertex AI API, Notebooks API, Compute Engine API, Dataform API, Cloud Run Admin API, BigQuery Migration API, Cloud Functions API, Gemini for Google Cloud API, AI Platform Training & Prediction API, Analytics Hub API, API Keys API, Artifact Registry API, BigQuery API, BigQuery Connection API, BigQuery Data Policy API, BigQuery Reservation API, BigQuery Storage API, Cloud Asset API, Cloud Build API, Cloud Dataplex API, Cloud Deployment Manager V2 API, Cloud Logging API, Cloud Monitoring API, Cloud OS Login API, Cloud Pub/Sub API, Cloud Resource Manager API, Cloud Spanner API, Cloud SQL Admin API, Cloud Storage, Cloud Storage API, Cloud Trace API, Container Registry API, Data Lineage API, Dataflow API, Dialogflow API, Discovery Engine API, Gemini Cloud Assist API, Generative Language API, Google Cloud Storage JSON API, IAM Service Account Credentials API, Identity and Access Management (IAM) API, Legacy Cloud Source Repositories API, Maps JavaScript API, Recommendations AI (Beta, Recommender API, Vision AI API, Web Security Scanner API
Beta Was this translation helpful? Give feedback.
All reactions