GCP is showing error using 'deploy-adk-agent-engine' script
I'm following your YouTube "Google Agent Development Kit (ADK): How to deploy Your First Agent to Vertex AI Agent Engine" (https://www.youtube.com/watch?v=bPtKnDIVEsg), and everything works locally; but when I run the following remote command, no Response from the GCP
%poetry run deploy-remote --send --resource_id=xxxxx --session_id=yyyyyy
--message="hey how was your weekend? anything?"
Sending message to session yyyyyy:
Message: hey how was your weekend? anything?
Response: [empty]
I checked the Google Cloud Trace and it is displaying exception
exception.message 'LlmAgent' object has no attribute 'static_instruction'
exception.stacktrace Traceback (most recent call last): File "/home/appuser/.cache/pypoetry/virtualenvs/reasoning-engine-assembly-service-MATOk_fk-py3.12/lib/python3.12/site-packages/opentelemetry/trace/__init__.py", line 589, in use_span yield span File "/home/appuser
exception.type AttributeError
I checked the github comment below but I still having the same exception
I think we need to edit the pyproject.toml file; but not sure what version should I use:
[tool.poetry.dependencies]
python = ">=3.12"
requests = "^2.31.0"
google-adk = "^0.1.0"
pydantic = "^2.11.3"
python-dotenv = "^1.1.0"
google-cloud-aiplatform = {extras = ["adk", "agent_engines"], version = "^1.42.1"}
absl-py = "^2.1.0"
cloudpickle = "^3.0.0"
Can you help?
Thanks
/roy
0
1 comment
Roy Yokoyama
1
GCP is showing error using 'deploy-adk-agent-engine' script
AI Developer Accelerator
skool.com/ai-developer-accelerator
Master AI & software development to build apps and unlock new income streams. Transform ideas into profits. 💡➕🤖➕👨‍💻🟰💰
Leaderboard (30-day)
Powered by