You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Google ADK 2.x installation conflicts and modular tracing setup fails #269
The current adapter cannot be installed normally alongside Google ADK 2.7.1: the adapter requires google-genai>=1,<2, while ADK requires google-genai>=2.12.1,<3.
There is also a runtime incompatibility with ADK 2.12.0 when dependencies are supplied: GoogleADKInstrumentor().instrument(tracer_provider=provider) raises:
AttributeError: module 'google.adk.flows.llm_flows.base_llm_flow' has no attribute 'trace_call_llm'
ADK's modular flow layout captures model tracing in flows.llm_flows.core._model_call, and parallel-call tracing in flows.llm_flows.tools._batch_executor. Patching the former locations misses those bindings. New SDK tracing also uses start_span(), so passthrough must not return the outer recording span to a caller that will end it.
Expected behavior
Resolve compatible GenAI 1.x/2.x dependencies normally, instrument the actual model/parallel-tool bindings, preserve one coherent trace and restore the original methods/tracers when uninstrumenting.
I have a scoped patch with a real offline model/tool pipeline, parallel-call and model-error cases, token/span checks, exact binding restoration and span-ownership controls. It makes no provider calls and needs no API key.
Implementation and regression tests written with an OpenAI assistant under my supervision.
Thanks, Jabrail, for the careful report and the patch in #270. Both problems are fixed in traceai-google-adk 0.1.7 (via #445): it installs alongside Google ADK 2.x, and tracing starts and stops cleanly on ADK 2.12. We're closing this as resolved. If you still see a failure on 0.1.7, please reopen with the versions and we'll take another look.
Activity
nik13 commentedon Nov 12, 2026
Thanks, Jabrail, for the careful report and the patch in #270. Both problems are fixed in traceai-google-adk 0.1.7 (via #445): it installs alongside Google ADK 2.x, and tracing starts and stops cleanly on ADK 2.12. We're closing this as resolved. If you still see a failure on 0.1.7, please reopen with the versions and we'll take another look.