Bug in Cloud Run Deployment
** Please make sure you read the contribution guide and file the issues in the right place. ** Contribution guide.
Describe the bug In Main.py, for deploying Agents on Cloud run with Gcloud cli, in the official documentation, this is what's mentioned :
app: FastAPI = get_fast_api_app(
agent_dir=AGENT_DIR,
.
.
)
But in the latest release, it changed to
app: FastAPI = get_fast_api_app(
agents_dir=AGENT_DIR,
.
.
)
To Reproduce Steps to reproduce the behavior:
- Install 'pip install google-adk'
- Run 'gcloud run deploy capital-agent-service..'
- Open 'https://github.com/google/adk-python/blob/v1.1.0/src/google/adk/cli/fast_api.py'
- See error
Expected behavior If you do not change agent_dir to agents_dir and try to deploy, you will get an error.
Screenshots
Desktop (please complete the following information):
- OS: Windows
- Python version(python -V): 3.13 slim
- ADK version(pip show google-adk): 1.1.0
Additional context Please update this in the documentation
I faced it too. If it was intentional, updating the docs or mentioning it in the changelog would have helped.
Hi @Apollovishwas and thanks to everyone who participated in this thread.
We're currently doing some housekeeping on our issue tracker. Given the rapid pace of development and the number of updates since this was last active, there's a good chance this issue has been resolved in a newer version. To help us keep our backlog focused on current issues, we are closing this as stale.
If you're still facing this problem, could you please update to the very latest version of the library and confirm the issue still exists? If it does, please comment here, and we will be happy to reopen this issue and investigate further.
Thanks for your contribution and understanding!