From 7f08bd6c1dbb99f8a00922ae13c488bda3ece7b9 Mon Sep 17 00:00:00 2001 From: A Vertex SDK engineer Date: Fri, 9 Oct 2026 16:20:19 -0700 Subject: [PATCH] fix(agentplatform): Allow opentelemetry-instrumentation-google-genai 1.x in agent_engines The `< 1.0.0` cap makes google-cloud-agentplatform[agent_engines] unresolvable alongside google-adk, which will need the instrumentor >= 1.1b1 for the OpenTelemetry GenAI semconv 1.44 telemetry schema. agentplatform only calls `GoogleGenAiSdkInstrumentor().instrument()`, which 1.x keeps. PiperOrigin-RevId: 996822694 --- pypi/google_cloud_agentplatform/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypi/google_cloud_agentplatform/pyproject.toml b/pypi/google_cloud_agentplatform/pyproject.toml index 63131d4305..e2b857f524 100644 --- a/pypi/google_cloud_agentplatform/pyproject.toml +++ b/pypi/google_cloud_agentplatform/pyproject.toml @@ -42,7 +42,7 @@ agent_engines = [ "opentelemetry-sdk < 2", "opentelemetry-exporter-gcp-logging >= 1.11.0a0, < 2.0.0", "opentelemetry-exporter-otlp-proto-http < 2", - "opentelemetry-instrumentation-google-genai >= 0.3b0, < 1.0.0", + "opentelemetry-instrumentation-google-genai >= 0.3b0, < 2.0.0", "pydantic >= 2.11.1, < 3", ] a2a = [