openinference-instrumentation-google-adk 0.1.3__tar.gz → 0.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openinference-instrumentation-google-adk
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: OpenInference Google ADK Instrumentation
5
5
  Project-URL: Homepage, https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-google-adk
6
6
  Author-email: OpenInference Authors <oss@arize.com>
@@ -23,7 +23,6 @@ from google.adk.agents.run_config import RunConfig
23
23
  from google.adk.events import Event
24
24
  from google.adk.models.llm_request import LlmRequest
25
25
  from google.adk.models.llm_response import LlmResponse
26
- from google.adk.telemetry import _build_llm_request_for_trace
27
26
  from google.adk.tools import BaseTool
28
27
  from google.genai import types
29
28
  from opentelemetry import context as context_api
@@ -223,7 +222,7 @@ class _TraceCallLlm(_WithTracer):
223
222
  try:
224
223
  span.set_attribute(
225
224
  SpanAttributes.INPUT_VALUE,
226
- safe_json_dumps(_build_llm_request_for_trace(llm_request)),
225
+ llm_request.model_dump_json(exclude_none=True, fallback=_default),
227
226
  )
228
227
  span.set_attribute(
229
228
  SpanAttributes.INPUT_MIME_TYPE,