Skip to content

Commit d8acf78

Browse files
jackwotherspoonkoverholtpolong-lin
authored
docs: add notes about requirements.txt for deploying ADK to Cloud Run (#227)
* chore: update google-cloud-tools.md * docs: add notes about requirements.txt for deploying ADK to Cloud Run --------- Co-authored-by: Kristopher Overholt <[email protected]> Co-authored-by: Polong Lin <[email protected]>
1 parent e62f756 commit d8acf78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/deploy/cloud-run.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ To proceed, confirm that your agent code is configured as follows:
1414
1. Agent code is in a file called `agent.py` within your agent directory.
1515
2. Your agent variable is named `root_agent`.
1616
3. `__init__.py` is within your agent directory and contains `from . import agent`.
17+
4. (Optional) Additional dependencies can be specified in a `requirements.txt` file within your agent directory.
1718

1819
## Environment variables
1920

@@ -83,7 +84,7 @@ export GOOGLE_GENAI_USE_VERTEXAI=True
8384

8485
##### Arguments
8586

86-
* `AGENT_PATH`: (Required) Positional argument specifying the path to the directory containing your agent's source code (e.g., `$AGENT_PATH` in the examples, or `capital_agent/`). This directory must contain at least an `__init__.py` and your main agent file (e.g., `agent.py`).
87+
* `AGENT_PATH`: (Required) Positional argument specifying the path to the directory containing your agent's source code (e.g., `$AGENT_PATH` in the examples, or `capital_agent/`). This directory must contain at least an `__init__.py` and your main agent file (e.g., `agent.py`). It may also contain a `requirements.txt` file if your agent requires additional dependencies beyond `google-adk`.
8788

8889
##### Options
8990

0 commit comments

Comments
 (0)