Repository navigation
Conversation
…odel default OpenAI removes tts-1, tts-1-hd and gpt-4o-mini-tts from its API on 2027-01-06, and whisper-1, gpt-4o-transcribe, gpt-4o-mini-transcribe and gpt-4o-transcribe-diarize on 2027-02-26. Add a caution to each OpenAI page. The TTS replacement, gpt-realtime-2.1-mini, is not supported on /audio/speech, so the TTS caution points to the OpenAI Realtime engine. AUDIO_STT_MODEL defaults to an empty string in config.py, and the OpenAI engine sends it as is. The STT page now says so, instead of saying that whisper-1 is used when it is unset, and the env table matches the environment variable reference. Add a troubleshooting step to both pages: when the API Base URL points to another OpenAI-compatible service, use that service's model and voice IDs instead of the OpenAI defaults. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Summary
OpenAI is shutting down
tts-1andtts-1-hd, which the OpenAI TTS page recommends, andwhisper-1, which the OpenAI STT page still lists. Neither page mentions it yet. This adds a short caution to each page, with the dates from OpenAI's deprecations page:tts-1,tts-1-hdandgpt-4o-mini-ttsare removed on 2027-01-06. OpenAI's replacement,gpt-realtime-2.1-mini, isn't supported on/v1/audio/speech, so changing the model in theOpenAIengine won't help. The caution points to the OpenAI Realtime engine, which the page already documents and which defaults to that model.whisper-1,gpt-4o-transcribe,gpt-4o-mini-transcribeandgpt-4o-transcribe-diarizeare removed on 2027-02-26. The caution says to switch togpt-transcribe, which the page already recommends.Two related fixes on the same pages:
whisper-1whenAUDIO_STT_MODELis unset, and its env table listedgpt-transcribeas the default. The code does neither: the default is an empty string, and_transcribe_openaisends it as is. The page now says to set the model explicitly, and the table saysempty, like the environment variable reference.OpenAIengine at another OpenAI-compatible service: use that service's model and voice IDs, because the defaults (tts-1,alloy) are OpenAI's.Related issue or discussion
None.
Checklist
Notes for reviewers
gpt-realtime-2.1-miniisn't a supported model for/v1/audio/speech".main(the same ondev):AUDIO_TTS_MODELandAUDIO_TTS_VOICEdefault totts-1andalloy, and selecting theOpenAIengine inAudio.sveltefills in the same pair.AUDIO_STT_MODELdefaults to''. TheOpenAIengine posts to{base}/audio/speech.tts-1mentions alone: the quality, rate-limit and cost notes, and the quick setup on the audio troubleshooting page, stay accurate until 2027-01-06, andtts-1/alloyare still the backend defaults. Happy to update them in this PR if you'd rather do it in one pass.#using-the-openai-realtime-enginelink resolves. I didn't run the full site build locally.