Repository navigation
Conversation
OpenAI shut down the Assistants API on 2026-08-26. The resume review in src/features/resume.ts now makes one responses.create call with the PDF as an input_file, and openai goes from 4.55.5 to 4.104.0. See the PR description for details. Assisted-by: Claude:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
openai.beta.assistantsandopenai.beta.threadscalls insrc/features/resume.tshave failed since 2026-08-26, when OpenAI shut down the Assistants API (deprecation notice: https://developers.openai.com/api/docs/deprecations). This PR moves the resume review to the Responses API, following OpenAI's migration guide: https://developers.openai.com/api/docs/assistants/migrationWhat changed
src/features/resume.tsconfigure()pushed them to OpenAI at startup. They are now a constant sent with each request, and the startupassistants.updatecall is gone.openai.responses.create(...)call. The resume PDF goes in as aninput_file, so the model reads the whole document instead of searching it.user_data, the purpose OpenAI's file-input guide uses forinput_file.finallyblock deletes the uploaded file. Before, the stream had only just started when the file was deleted.package.jsonopenaigoes from 4.55.5 to 4.104.0, the last 4.x release. The Responses API needs 4.87.0 or later.Testing
beta.assistants/beta.threadscalls are left.npm ci,npm test(26 passed, 1 skipped, eslint and prettier clean) andnpm run build(tsc -b) all pass against openai 4.104.0.Worth a look
gpt-5.6-terra; changeRESUME_MODELif you used something else.tools: [{ type: "file_search", vector_store_ids: [...] }]would bring it back.package-lock.jsonis regenerated for openai 4.104.0 and included.Drafted with Claude (claude-opus-5-5). I reviewed and tested it, and I'm responsible for it. I'm building a tool that finds deprecated API calls.
If you'd rather not get PRs like this, close it or say so and I won't send more to this repo or org.
🤖 Generated with Claude Code