Skip to content

[openai] Support multimodal image_url input message parts on chat completions #548

Open

Description

@lmolkova

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_messages in utils.py only extracts string text content and drops structured content arrays containing image_url blocks.
  • Map image_url blocks into gen_ai.input.messages image parts according to GenAI semantic conventions.
  • Affected file: utils.py.

Activity

  1. added
    openinference-migration
    on Sep 2, 2026
  2. rads-1996 commented on Sep 2, 2026

    @rads-1996
    Contributor

    @lmolkova Already working on it as part of #348. Could I please be assigned this.

  3. rads-1996 commented on Sep 9, 2026

    @rads-1996
    Contributor

    This has been addressed in PR - #540

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

openinference-migration

Type

No type

Fields

Priority

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions