Skip to content

[BUG] When reading StreamingResponseImageGenerationCallPartialImageUpdate PartialImageBytes is always null #809

@ericstj

Description

@ericstj

Describe the bug

The PartialImageBytes property does not seem to be set.

I debugged the DeserializeStreamingResponseImageGenerationCallPartialImageUpdate and noticed that it's reading the property PartialImageBytes from the JSON, however the property's actual name is partial_image_b64. As a result the property is not read.

Steps to reproduce

Create a responses client that sets ImageGenerationTool and specifies PartialImageCount

Make a request to generate an image.

Examine the StreamingResponseImageGenerationCallPartialImageUpdate returned

Code snippets

OS

Windows

.NET version

.NET 9.0.10

Library version

2.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageWorkflow: This is a new issue that needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions