Skip to content

fix: move transcription off whisper-1 before February 26, 2027 - #296

Closed
23821 wants to merge 1 commit into
PSDN-AI:mainfrom
23821:yakbarber/openai-2026-08-whisper-1-retirement
Closed

23821 wants to merge 1 commit into
PSDN-AI:mainfrom
23821:yakbarber/openai-2026-08-whisper-1-retirement

Conversation

@23821

@23821 23821 commented Sep 29, 2026 •

Copy link
Copy Markdown

Hi! 👋 OpenAI announced a change that will break this project after February 26, 2027 (details below). This pull request updates the code so it keeps working.

It was prepared with the help of AI (YakBarber, a tool I'm building that updates code before API changes break it) and sent by me, once, to this repository only. If it isn't useful, feel free to close it — there won't be any follow-ups.


OpenAI is changing its API. whisper-1 is shut down; move transcription to gpt-transcribe
Deadline: February 26, 2027 (150 days from now). Details: https://developers.openai.com/api/docs/deprecations

What in this repo is affected

What this PR changes
Migrated the OpenAI Whisper adapter off the shut-down whisper-1 model. psdn_sonar/conf/backend/whisper.yaml now configures model: gpt-transcribe, and psdn_sonar/models/apis.py's WhisperAPIModel defaults to model="gpt-transcribe" and sends the language hint via extra_body={"languages": [self.language]} instead of the removed language= kwarg, per OpenAI's migration guide. No other call sites use whisper-1, response_format, timestamps, or the translations endpoint, so nothing else needed changes; the flagged documentation/docstring/README/changelog mentions of whisper-1 were left as-is since they're prose, not executable code. The test run still fails with the pre-existing "unrecognized arguments: --cov=..." pytest-cov error (present before my changes too), which is a test-configuration issue unrelated to this API migration and outside the files I'm allowed to edit.

Tests: ⚠️ inconclusive — the tests failed the same way before this change in YakBarber's isolated test environment (often a setup difference, such as no network access), so they don't confirm this change (output below)

Test output
ERROR: usage: python -m pytest [options] [file_or_dir] [file_or_dir] [...]
python -m pytest: error: unrecognized arguments: --cov=psdn_sonar --cov-report=term-missing --cov-report=xml
  inifile: /work/pyproject.toml
  rootdir: /work

This pull request was generated by YakBarber using AI and checked against your tests. Please review before merging. Questions: reply to this pull request

Check the whole repository yourself: npx yakbarber check lists every AI model and API it calls that is being retired, with the date and the company's own words. Free, read-only, runs locally (source).

@github-actions github-actions Bot added the track: toolkit Core psdn-sonar eval toolkit code and tests label Sep 29, 2026
@23821 23821 changed the title [YakBarber] OpenAI: whisper-1 is shut down; move transcription to gpt-transcribe fix: move transcription off whisper-1 before February 26, 2027 Oct 9, 2026
@RN0311 RN0311 closed this Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

track: toolkit Core psdn-sonar eval toolkit code and tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants