Repository navigation
Releases
Releases · googleapis/python-aiplatform
v2.9.0
2.9.0 (2026-11-12)
Features
- Add missing enum values to FinishReason and ReinforcementTuningThinkingLevel (73a1a09)
- Update discovery doc (9b3f296)
Bug Fixes
- Allow litellm<1.110.0 in evaluation extra, excluding 1.107.0 (10814f7)
- Migrate usage of mock to unittest.mock (dcf3026)
- Remove brittle client-side installation_scripts path validation in Agent Engine SDK (74d17cc)
- Support per-call timeout in Agent Engine A2A operations (d309536)
Documentation
- Update
AdkApp.async_stream_querydocstring for multimodalmessagedicts and add unit tests. (1b1f8fc)
v2.8.0
2.8.0 (2026-11-10)
Features
- Add service_account parameter to Model Garden deploy methods. (8779d73)
- GenAI SDK client(evals) - Add StepBasedLLMMetric for multi-step LLM-judge metrics over agent traces. (954c90d)
- GenAI SDK client(evals) - Support StepBasedLLMMetric in create_evaluation_metric. (84df3a7)
- Support
git_sourceinclient.runtimesfor deploying from public Git repositories (affc088) - Update discovery doc (720b112)
Bug Fixes
- Cap sentencepiece below 0.2.3 in the tokenization extras (bb5ff02)
- Fail open on any error resolving the project ID in the ADK framework. (2ec72e8)
- GenAI Client(evals) - Handle agent traces that end without a text event in run_inference (d62419a)
- Warn when the pipeline output bucket is not owned by the project, and add
aiplatform.init(enforce_bucket_ownership=True)to raise an error instead (27ee0dc)
v2.7.0
2.7.0 (2026-10-28)
Features
- Add support for Python 3.15 (9b9f2b3)
Bug Fixes
- Build the VPC-SC
psc_endpointURL ashttp://{psc_endpoint}:{port}inSandboxes.send_commandandws://{psc_endpoint}:{port}inSandboxes.generate_browser_ws_headers, instead ofhttps://{psc_endpoint}on 443. The sandbox router pod serves plain HTTP on the caller-supplied port (default 8080) and does not terminate TLS on 443, so the prior URLs hung onConnectTimeout. Non-VPC-SC branches are unaffected. (dd39926) - GenAI Evaluation: Lazily import scikit-learn in preview autorater_utils so importing vertexai.preview.evaluation doesn't require it (d6f690e)
- Model Garden deploy_publisher_model now honors dedicated_endpoint_disabled and spot without a machine type (5b3dba9)
- Model Garden list_deployable_models, list_models and list_publisher_model_deploy_options now read the catalog from us-central1 for clients in any location (1ba7a41)
- Preserve caller session_id as agent_engine:upstream_session_id on fallback session creation in AdkApp. (f1944ac)
- Resolve agentplatform metric objects in vertexai evals (46f4e55)
- Stop deserializing the staged agent from Cloud Storage during Agent Engine deployment (d02310f)
v2.6.0
2.6.0 (2026-10-20)
⚠ BREAKING CHANGES
- An existing value
DEPRECATEDis removed from enumState
Features
- Add ARCHIVED state to ReasoningEngineRuntimeRevision (faed3f4)
- Add client.memory_banks.update method. (0ac315e)
- Add context to Memory, MemoryRevision, and IntermediateExtractedMemory in Vertex AI v1beta1 (faed3f4)
- Add extra_context to EvaluationItemRequest (c0a8de2)
- Export ADK agent engine template logs to the Telemetry API (448abba)
- Onboard Vertex Model Garden to GenAI Python SDK: Add deploy_custom_model (46ae3d0)
- Support batch predict in Model Garden (6b2870f)
- Update discovery doc (b60bddc)
Bug Fixes
- An existing value
DEPRECATEDis removed from enumState(faed3f4) - GenAI Client(evals) - Default missing rubric verdicts to False (93c52a6)
- GenAI Client(evals) - Honor per-row tool_config in Gemini inference (48ce2ae)
- GenAI Client(evals) - Keep eval_case_index aligned with dataset rows (19b0c40)
- GenAI Client(evals) - Log serialization errors in show() instead of raising AttributeError (4b1ace9)
- GenAI Client(evals) - Parse JSON-string and OpenAI-style conversation_history (1d93955)
- GenAI Client(evals) - Serialize DataFrame-backed evaluation datasets to JSON (9e5c721)
Documentation
- A comment for field
create_timein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
descriptionin message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
display_namein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
expire_timein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
factin message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
namein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
scopein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
ttlin message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4) - A comment for field
update_timein message.google.cloud.aiplatform.v1beta1.Memoryis changed (faed3f4)
Miscellaneous Chores
- Release 2.6.0 (ed98faa)
v2.5.0
2.5.0 (2026-10-13)
Features
- agentplatform: Add agent_card to AgentRuntimeConfig for runtimes.create and update (527b6dc)
Bug Fixes
- agentplatform: Allow opentelemetry-instrumentation-google-genai 1.x in agent_engines (7f08bd6)
- GenAI Client(evals) - Back off only on retryable errors in inference and agent-run retries (f6bf219)
- GenAI Client(evals) - Fix run_inference for local ADK agents and remote runtime N+1 (738e2b1)
- GenAI Client(evals) - Mirror the inference retry fix to agentplatform/private and vertexai (efa3980)
- GenAI Client(evals) - Pass client credentials and http_options to per-thread runtime clients (58c34ea)
- GenAI Client(evals) - Save Gemini agent run_inference results to dest (be0eb9a)
- GenAI Client(evals) - Send list and dict context to the evaluation service (2c2d69e)
- GenAI Client(evals) - Show intermediate_events as a conversation trace in show() (4d4ac8a)
- GenAI Client(evals) - Show N/A for missing summary scores in the comparison report (be4ea51)
- GenAI Client(evals) - Treat NaN and array cells as missing in eval DataFrames (b28737e)
- Raise google.genai.errors.APIError when Agent Engine create or update LROs fail (e631a16)
Documentation
v2.4.0
2.4.0 (2026-10-06)
Features
- Add per-step judges and cross-region routing to evals (5fa1455)
- GenAI Client(evals) - add EvaluationDataset.load_from_adk_eval_set (4c045e1)
- Surface the LRO name in Agent Engine create and update requests (b1378bb)
- Update discovery doc (39693a9)
Bug Fixes
- Replay session_events into a scratch session and delete it afterwards (3647753)
v2.3.0
v2.2.0
v2.1.3
2.1.3 (2026-09-15)
Features
- Add
psc_endpointparameter toSandboxes.send_commandandSandboxes.generate_browser_ws_headersso VPC-SC sandboxes withingressControlConfig.enablePrivateServiceConnect=true(which populate onlyconnection_info.service_attachment, neverload_balancer_hostname/load_balancer_ip) can route data-plane traffic through a customer-provisioned PSC endpoint. Existing non-VPC-SC callers are unaffected; the parameter defaults toNoneand the load-balancer branches remain the primary path. (39971ae) - Add build configuration support to Vertex AI Reasoning Engine (bea1abd)
- Add enable_zero_data_retention to Tool.ParallelAiSearch (bea1abd)
- Add enable_zero_data_retention to Tool.ParallelAiSearch (bea1abd)
Bug Fixes
- Fail open on any error resolving the project ID in the ADK templates. (30bf665)
- Fix Sandboxes.send_command failing to reach the sandbox data plane. (2b28caf)
- Import pandas lazily in the Gen AI SDK
_gcs_utilsmodule. (7c94277), refs #5928 #7129
Miscellaneous Chores
- Release 2.1.3 (2c7a22d)