Hacked around this in https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3785. Should be possible once opentelemetry-util-genai is published for the first time.