Python version not added to the Agent Engine update query mask
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning
Research direction
Start in vertexai/_genai/agent_engines.py around lines 1092-1101 and compare how python_version is placed in the query payload with the update mask. Reproduce the Agent Engine update using the issue's vertexai.Client example; done means the requested Python version is included in the update mask and the Agent Engine version changes.
Written by the indexing model from the issue text.
Description
Environment details
- OS type and version: Mac OS 26.1
- Python version: 3.12
- pip version: 25.2
google-cloud-aiplatformversion: 1.129.0
Steps to reproduce
- Use
vertexai.Client(project=..., location=...).agent_engine.update(agent=..., config={'python-version': ...}). - The python version is not added to the update mask for the update query to aiplatform.
- The python version used by the agent engine is not updated.
In the code, the python_version package spec is set in the query payload but not the in the update_mask.
https://github.com/googleapis/python-aiplatform/blob/3eb38bf1f566545f5a6aba16b356cb2e4c148992/vertexai/_genai/agent_engines.py#L1092-L1101
- Dominant language
- Python
- Stars
- 907
- Forks
- 467
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 44
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from googleapis/python-aiplatform
-
api: vertex-ai
Difficulty 1/5 Under an hour Newbie friendliness 85/100
googleapis/python-aiplatform#7132 ·
-
api: vertex-ai
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/python-aiplatform#7097 · 1 comment ·
-
CustomContainerTrainingJob.run drops max_wait_duration=0 instead of requesting indefinite DWS wait Openapi: vertex-ai
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/python-aiplatform#7067 · 1 comment ·
-
api: vertex-ai
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
googleapis/python-aiplatform#6877 ·
-
api: vertex-ai
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
googleapis/python-aiplatform#6865 · 1 comment ·
All issues in googleapis/python-aiplatform
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100