Skip to content

fix: preserve options in vector store file batch upload polling#1881

Open
MukundaKatta wants to merge 1 commit into
openai:masterfrom
MukundaKatta:codex/vector-batch-upload-options
Open

fix: preserve options in vector store file batch upload polling#1881
MukundaKatta wants to merge 1 commit into
openai:masterfrom
MukundaKatta:codex/vector-batch-upload-options

Conversation

@MukundaKatta
Copy link
Copy Markdown

@MukundaKatta MukundaKatta commented May 15, 2026

Fixes #1700.

Summary

  • pass request/poll options through vector store file batch create-and-poll helpers
  • add a regression test ensuring uploadAndPoll resolves to the completed file batch (vsfb_...) object

Tests

  • yarn test tests/api-resources/vector-stores/file-batches.test.ts
  • yarn format src/resources/vector-stores/file-batches.ts tests/api-resources/vector-stores/file-batches.test.ts
  • git diff --check

@MukundaKatta MukundaKatta requested a review from a team as a code owner May 15, 2026 15:32
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.

Function vectorStores.fileBatches.uploadAndPoll returns vectorStoreId instead of batchId

1 participant