open-telemetry / open-telemetry/opentelemetry-python-genai
[openai] Support multimodal image_url input message parts on chat completions
Open
@rads-1996 is already working on this.
Since Sep 2, 2026.
openinference-migration
- Dominant language
- Python
- Stars
- 39
- Forks
- 63
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 175
Description
[!NOTE]
This issue was generated with AI assistance and requires investigation and confirmation prior to being worked on.
Part of #541.
Support structured multimodal content parts (such as image_url) when capturing input messages on chat completions.
- Currently
_prepare_input_messagesinutils.pyonly extracts string text content and drops structured content arrays containingimage_urlblocks. - Map
image_urlblocks intogen_ai.input.messagesimage parts according to GenAI semantic conventions. - Affected file:
utils.py.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.