Skip to content

Conversation

@mickaelMamani
Copy link
Contributor

as the GetBatch by Id if not available then we must browse all the batches

@LuisM000
Copy link

Hi,
Is there any reason why this PR (#262) is stalled?
Do we have an estimate on when this change will be available or if it needs further review?

Thanks!

@shargon
Copy link
Contributor

shargon commented Jun 19, 2025

Seems that the project is unactive

@legendaryleo7
Copy link

Seems like this entire project is generated so it’s likely no one is watching the PRs

@KrzysztofCwalina
Copy link
Collaborator

KrzysztofCwalina commented Jun 19, 2025

@mickaelMamani, sorry for a delay in this PR. The reason for the delay is that we would like to support this scenario with what we call "operation rehydration". We already have a method CreateBatchOperation.Rehydrate that allows you to retrieve a previously initiated batch operation. The problem is that there is currently no way to rehydrate from batchId. We would like to add CreateBatchOperation.Rehydrate(BatchClient client, int batchId, ...) overload, but the addition got postponed due to other work. I will bump the priority of the addition to get it done soon.

I filed issue: #463

@KrzysztofCwalina
Copy link
Collaborator

the issue I filed has been fixed and merged: #464

Copy link
Collaborator

@jsquire jsquire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mickaelMamani. Thanks very much for your contribution and interest in improving the OpenAI developer experience. We apologize for the long wait for someone to review.

As Krzysztof mentioned, there are still ongoing design conversations around the experience that we'd like to offer for the batch API - including at the protocol level. Since this was opened, we've changed our approach to evolving the API which will allows us to accept this and continue to iterate on the design over time.

I'll get this merged in. Thank you, again, for your efforts.

@jsquire jsquire closed this Jul 10, 2025
@jsquire jsquire reopened this Jul 10, 2025
@jsquire jsquire requested a review from ShivangiReja as a code owner July 10, 2025 17:10
@jsquire jsquire merged commit 2ae7d06 into openai:main Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants