Skip to content

Commit 7f08bd6

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
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
1 parent 738e2b1 commit 7f08bd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pypi/google_cloud_agentplatform/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ agent_engines = [
4242
"opentelemetry-sdk < 2",
4343
"opentelemetry-exporter-gcp-logging >= 1.11.0a0, < 2.0.0",
4444
"opentelemetry-exporter-otlp-proto-http < 2",
45-
"opentelemetry-instrumentation-google-genai >= 0.3b0, < 1.0.0",
45+
"opentelemetry-instrumentation-google-genai >= 0.3b0, < 2.0.0",
4646
"pydantic >= 2.11.1, < 3",
4747
]
4848
a2a = [

0 commit comments

Comments
 (0)