Skip to content

Conversation

@crickman
Copy link
Contributor

@crickman crickman commented Dec 23, 2025

This draft PR demonstrates the failure to convert ResponseItem with ResponseContentPart that defines reference or data via image url:

ResponseContentPart.CreateInputImagePart(new Uri("https://example.com/image.png")),

Or

ResponseContentPart.CreateInputImagePart(BinaryData.FromBytes(Encoding.UTF8.GetBytes("image data")), "image/png"),

Note: Supporting this pattern requires an update to the OpenAI SDK:

PR: openai/openai-dotnet#874
ISSUE: openai/openai-dotnet#875

Microsoft Reviewers: Open in CodeFlow

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

Labels

area-ai Microsoft.Extensions.AI libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant