Skip to content

fix: pass file batch helper options through#1855

Open
Genmin wants to merge 1 commit intoopenai:masterfrom
Genmin:fix-file-batch-upload-poll
Open

fix: pass file batch helper options through#1855
Genmin wants to merge 1 commit intoopenai:masterfrom
Genmin:fix-file-batch-upload-poll

Conversation

@Genmin
Copy link
Copy Markdown

@Genmin Genmin commented Apr 29, 2026

Summary

  • pass request options from fileBatches.createAndPoll() into the underlying batch create request
  • pass request options from fileBatches.uploadAndPoll() into createAndPoll() so custom headers and pollIntervalMs survive the helper chain
  • add a regression test covering upload, batch creation, and polling headers

Validation

  • yarn test tests/api-resources/vector-stores/file-batches.test.ts
  • yarn lint reaches Prettier, ESLint, and build successfully; local typecheck then fails on pre-existing optional example dependencies not installed in this checkout: @azure/identity, express, and next

@Genmin Genmin requested a review from a team as a code owner April 29, 2026 21:01
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.

1 participant