How to update configuration (env vars) / prompts of an already deployed Agent Engine resource #4102
Replies: 1 comment 1 reply
-
|
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: Redeploying your agent using Hello! I see you're having trouble updating your Agent Engine resource. Based on the ADK documentation and examples, here's the recommended approach: To update the environment variables or any other configuration of an already deployed Agent Engine, you should redeploy your agent using the Here are the steps to follow:
When you provide the Calling I hope this helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am attempting to modify the things of an already deployed Agent Engine resource, specifically to update environment variables, without redeploying the agent.
Using the Python SDK, calling
agent_engines.update()with only partial config data results in aFAILED_PRECONDITIONerror (package_spec cannot be updated to empty). Fetching the existing agent and merging the current config before updating still does not work reliably, as the config schema is not clearly exposed.package_specand other required fields during an update?Beta Was this translation helpful? Give feedback.
All reactions