Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion python/agents/RAG/deployment/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def update_env_file(agent_engine_id, env_file_path):

remote_app = agent_engines.create(
app,
display_name=root_agent.name,
requirements=[
"google-cloud-aiplatform[adk,agent-engines]==1.108.0",
"google-adk==1.10.0",
Expand All @@ -72,4 +73,4 @@ def update_env_file(agent_engine_id, env_file_path):
logging.info(f"Deployed agent to Vertex AI Agent Engine successfully, resource name: {remote_app.resource_name}")

# Update the .env file with the new Agent Engine ID
update_env_file(remote_app.resource_name, ENV_FILE_PATH)
update_env_file(remote_app.resource_name, ENV_FILE_PATH)
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def create(env_vars: dict) -> None:

remote_agent = agent_engines.create(
adk_app,
display_name=root_agent.name,
requirements=[
"google-adk>=1.0.0,<2.0.0",
"google-cloud-aiplatform[agent_engines]>=1.93.0",
Expand Down
1 change: 1 addition & 0 deletions python/agents/customer-service/deployment/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
logging.debug("deploying agent to agent engine:")
remote_app = agent_engines.create(
app,
display_name=root_agent.name,
requirements=[
AGENT_WHL_FILE,
],
Expand Down
1 change: 1 addition & 0 deletions python/agents/data-science/deployment/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def create(env_vars: dict[str, str]) -> None:

remote_agent = agent_engines.create(
adk_app,
display_name=agent.name,
requirements=[AGENT_WHL_FILE],
extra_packages=[AGENT_WHL_FILE],
env_vars=env_vars,
Expand Down
1 change: 1 addition & 0 deletions python/agents/fomc-research/deployment/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def create() -> None:

remote_agent = agent_engines.create(
adk_app,
display_name=root_agent.name,
requirements=[f"./{AGENT_WHL_FILE}"],
extra_packages=[f"./{AGENT_WHL_FILE}"],
)
Expand Down
1 change: 1 addition & 0 deletions python/agents/personalized-shopping/deployment/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
print("Deploying agent to agent engine...")
remote_app = agent_engines.create(
app,
display_name=root_agent.name,
requirements=[
AGENT_WHL_FILE,
],
Expand Down