-
Notifications
You must be signed in to change notification settings - Fork 784
adk deploy cloud_run: Option --agent_engine_id documented but not recognized #303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you blocked by this issue @jfolaya8 ? |
@DeanChensj could you confirm the right logic for agent_engine_id? |
Hi @hangfei, thanks for asking. Currently, I'm not strictly blocked because I'm in the testing phase. I was able to deploy the agent without the However, as expected, without connecting to my existing Vertex AI Agent Engine using this ID, session state is lost whenever the Cloud Run service restarts. My understanding is that So, while I can continue with some testing for now, it would be great if you can check it out. Thanks for looking into it. |
Add the --agent_engine_id option to the deploy cloud_run CLI command that was documented but not implemented. This allows users to connect their deployed agent to a Vertex AI Agent Engine for session persistence. Part of google#303
Update the Dockerfile template to use the agent_engine_id parameter by converting it to the required session_db_url format. This enables proper connection to Vertex AI Agent Engine when deploying to Cloud Run. Fixes google#303
I've started working on this issue and created a draft PR (#344 ). I've implemented the missing Currently, the PR is in draft status while I set up a testing environment to verify the changes. Once I've confirmed that everything works as expected, I'll mark it ready for review. Looking forward to any feedback or testing guidance in the meantime. |
Hi @devxaitist , thanks for pointing this out, we will remove the misleading doc instruction. Meanwhile, we are adding a |
Hello @DeanChensj Thank you for the clarification. I already created a draft PR implementing the |
Describe the bug
The documentation for the
adk deploy cloud_run
command indicates that--agent_engine_id
is an optional parameter. However, when attempting to use this option during command execution, an error occurs stating that the option does not exist (Error: No such option: --agent_engine_id
).According to the official documentation,
--agent_engine_id
should be a valid optional parameter:https://google.github.io/adk-docs/deploy/cloud-run/#setup-environment-variables
To Reproduce
Execute the
adk deploy cloud_run
command including the--agent_engine_id
option, similar to the following example:Expected behavior
The command should execute successfully, recognizing and utilizing (or ignoring if truly optional for the internal logic at that point) the
--agent_engine_id
parameter as described in the documentation.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: