adk-python icon indicating copy to clipboard operation
adk-python copied to clipboard

Bug in Cloud Run Deployment

Open Apollovishwas opened this issue 1 year ago • 2 comments

** 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:

  1. Install 'pip install google-adk'
  2. Run 'gcloud run deploy capital-agent-service..'
  3. Open 'https://github.com/google/adk-python/blob/v1.1.0/src/google/adk/cli/fast_api.py'
  4. See error

Expected behavior If you do not change agent_dir to agents_dir and try to deploy, you will get an error.

Screenshots

Image

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

Apollovishwas avatar May 29 '25 15:05 Apollovishwas

I faced it too. If it was intentional, updating the docs or mentioning it in the changelog would have helped.

me-her avatar May 29 '25 20:05 me-her

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!

jwiejulie avatar Aug 14 '25 20:08 jwiejulie