Skip to content

Conversation

iBotPeaches
Copy link
Collaborator

@iBotPeaches iBotPeaches commented Jun 13, 2025

What:

  • Bug Fix
  • New Feature

Description:

Adding support for streaming for Image Generation

Related:

refs: #585


@iBotPeaches iBotPeaches marked this pull request as ready for review June 15, 2025 13:48
@iBotPeaches iBotPeaches added this to the v0.14.0 milestone Jun 15, 2025
@iBotPeaches iBotPeaches merged commit 0a29b39 into main Jun 15, 2025
24 checks passed
trandbert37 pushed a commit to trandbert37/openai-php-client that referenced this pull request Jun 16, 2025
…ai-php#602)

* feat(OpenAI): Add streaming for ImageGeneration (Responses API)

* fix(OpenAI): `model` is missing on stream and partial images is default 0

* test(OpenAI): image generation steaming test

* fix(OpenAI): add output item (Image Generation)

* fix(OpenAI): add output item (Image Generation)

* test(OpenAI): enhanced stream testing

* fix(OpenAI): image generation streaming fixes

* fix(OpenAI): proper type

* chore(OpenAI): align test to stream mock

* fix(OpenAI): result is missing on partial image failure
# Conflicts:
#	src/Responses/Responses/CreateResponse.php
#	src/Responses/Responses/CreateStreamedResponse.php
#	src/Responses/Responses/RetrieveResponse.php
#	src/Responses/Responses/Streaming/OutputItem.php
trandbert37 pushed a commit to trandbert37/openai-php-client that referenced this pull request Jun 16, 2025
…ai-php#602)

* feat(OpenAI): Add streaming for ImageGeneration (Responses API)

* fix(OpenAI): `model` is missing on stream and partial images is default 0

* test(OpenAI): image generation steaming test

* fix(OpenAI): add output item (Image Generation)

* fix(OpenAI): add output item (Image Generation)

* test(OpenAI): enhanced stream testing

* fix(OpenAI): image generation streaming fixes

* fix(OpenAI): proper type

* chore(OpenAI): align test to stream mock

* fix(OpenAI): result is missing on partial image failure
# Conflicts:
#	src/Responses/Responses/CreateResponse.php
#	src/Responses/Responses/CreateStreamedResponse.php
#	src/Responses/Responses/RetrieveResponse.php
#	src/Responses/Responses/Streaming/OutputItem.php
iBotPeaches pushed a commit that referenced this pull request Jun 16, 2025
* Add support for Remote MCP Tool

* feat(OpenAI): Add streaming for ImageGeneration (Responses API) (#602)

* feat(OpenAI): Add streaming for ImageGeneration (Responses API)

* fix(OpenAI): `model` is missing on stream and partial images is default 0

* test(OpenAI): image generation steaming test

* fix(OpenAI): add output item (Image Generation)

* fix(OpenAI): add output item (Image Generation)

* test(OpenAI): enhanced stream testing

* fix(OpenAI): image generation streaming fixes

* fix(OpenAI): proper type

* chore(OpenAI): align test to stream mock

* fix(OpenAI): result is missing on partial image failure

* Add support for Remote MCP Tool

* fix conflicts

* fix merge

* fix feedbacks
@iBotPeaches iBotPeaches deleted the image-generation-streaming branch June 17, 2025 13:16
@iBotPeaches iBotPeaches added the enhancement New feature or request label Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant