Skip to content

Failed to set up agent engine the 'package' argument is required to perform a relative import for './my_agent/agent.py'` #2500

@davxiao

Description

@davxiao

adk local run is successful.
adk version = 1.10.0

Command:

adk deploy agent_engine --project="$PROJECT_ID" --region="$REGION" --staging_bucket="$AGENT_ENGINE_STAGING_BUCKET" --display_name=my_agent --adk_app="./my_agent/agent.py" --requirements_file="./requirements_for_ae.txt" --trace_to_cloud ./my_agent

adk deploy agent_engine --help does not show anything about this "package" argument.

Metadata

Metadata

Assignees

Labels

agent engine[Component] This issue is related to Agent Engine deploymentbot triaged[Bot] This issue is triaged by ADK bot

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions