whisper-1 is being retired (default.py)
Hi, quick heads-up in case this isn't already on your radar.
OpenAI is shutting down whisper-1 on February 26, 2027.
It looks like AstrBot still uses it, where the OpenAI STT provider's default config sends it once enabled. It's still there on the default branch as of October 1:
astrbot/core/config/default.py:1727
OpenAI's replacement is gpt-transcribe.
There's still time, but the provider sets the date and it won't move.
How I found it: I maintain DocsWatcher, an open source scanner that checks code against the deprecation notices providers publish. I ran it over the 50 most-starred repos tagged openai. Most of what it turns up is model names sitting in lists and price tables, which don't break anything, so I set those aside and read every hit in real code myself before opening anything. This one looked like a real call to me, but you know your code and I don't, so if I've got it wrong just say so and I'll close this.
Nothing to adopt here. I just thought you'd want to know.
Thanks for the detailed heads-up, and for taking the time to verify this against the actual code rather than just flagging the string.
I checked the repo and can confirm the report: whisper-1 is referenced in astrbot/core/config/default.py in the Whisper(API) provider (id: whisper, type: openai_whisper_api), and it is genuinely used at call time, not just a static name. The provider reads the model from config and passes it straight through:
# astrbot/core/provider/sources/whisper_api_source.py
result = await self.client.audio.transcriptions.create(
model=self.model_name,
file=("audio.wav", audio_file),
)
A few notes on practical impact, for anyone triaging:
- This provider is disabled by default (
enable: False) and ships with an emptyapi_base, so nothing breaks until a user enables it and leaves the default model in place. The date is a real deadline, not an outage, but you're right that OpenAI fixes the date. - Only
whisper-1appears in the default config. The other three models being retired on the same date (gpt-4o-transcribe,gpt-4o-mini-transcribe,gpt-4o-transcribe-diarize) aren't referenced, so the scope here is a single default. - File transcription via
POST /v1/audio/transcriptionswith a JSON response and reading.textis exactly the minimal migration path OpenAI documents forgpt-transcribe, so switching the default is a one-line change with no adapter changes needed.gpt-live-transcribeis the Realtime/streaming equivalent and doesn't apply here. - One consideration before changing the default:
api_baseallows any OpenAI-compatible endpoint, and many third-party/self-hosted transcription servers only implementwhisper-1. For those users, a new default model may not be supported. The default should probably follow OpenAI's current recommendation while users keep the ability to override it in the Dashboard.
There's also a tests/test_whisper_api_source.py fixture using whisper-1, but it's mocked and doesn't depend on the real model name, so it's optional to touch.
Overall this looks like a valid catch with a small, non-urgent fix. Thanks again for the scanner work — please leave this open so we can track it against the Feb 26, 2027 date.
Adding two more defaults that are already dead or about to be — verified against master @ 9f65a019 (2026-10-02) by checking every hardcoded model ID in astrbot/core/config/default.py plus the 5 hardcoded fallbacks in provider sources.
1. cosyvoice-v1 — shuts down 2026-10-10 (8 days from now) ⚠️
Location: astrbot/core/config/default.py:1884 — the default model for the 阿里云百炼 TTS provider.
Alibaba Cloud's model page carries an explicit notice: "CosyVoice大模型将于 2026 年 10 月 10 日下线". It's part of the 百炼 "部分语音系列历史主线模型下线" batch (notice 118331).
Replacement: the CosyVoice series has since shipped v2 / v3 / v3.5 — cosyvoice-v3.5-plus or cosyvoice-v3-flash are the current picks. Note cosyvoice-v1 only supports the WebSocket API while v2+ also expose HTTP, so switching may need an adapter check rather than a pure string swap.
2. gemini-embedding-exp-03-07 — shut down 2025-10-30 (already gone)
Two hardcoded locations:
astrbot/core/config/default.py:1998— defaultembedding_modelfor theGemini Embeddingprovider, and that provider ships withenable: True(:1995)astrbot/core/provider/sources/gemini_embedding_source.py:44— the source-level fallback default, used when the user hasn't set a model
Google's deprecations page lists it with a shutdown date of 2025-10-30; recommended replacement is gemini-embedding-2.
Migration caveat: unlike a chat model, swapping an embedding model invalidates existing vectors — any knowledge base already built with this model needs re-embedding. embedding_dimensions is currently set to 768, and gemini-embedding-2 supports MRL so that dimension can be preserved.
Scope note: I checked all 21 hardcoded values in default.py plus 5 source-level fallbacks — covering every chat, embedding, rerank, TTS and STT default. Apart from the two above (and whisper-1 in the original report), everything else resolves to a currently-served model ID. Two things worth knowing for whoever picks this up:
- Chat providers have no default model at all —
default.py:2911is only the schema declaration ("模型 ID", hint "如 gpt-4o-mini, deepseek-chat"), so nothing breaks there regardless of upstream churn - The only hardcoded chat default is
kimi-for-coding(kimi_code_source.py:6), and Kimi Code keeps that ID stable across model generations — verified against their changelog
This content was produced with AI assistance.
Verified all three IDs against current sources. Two are real and one I cannot confirm:
whisper-1: covered by #10330, in review.
gemini-embedding-exp-03-07: confirmed retired (Google's GA announcement for gemini-embedding-001 names it, and it no longer resolves). Fix is #10393: both the config default and the source-level fallback move to gemini-embedding-001, which keeps the configured 768 dimensions valid through MRL. One correction to the notes above: the GA replacement is gemini-embedding-001. I could not find any source for a gemini-embedding-2 ID, and the deprecations page points at 001.
cosyvoice-v1: I cannot verify the October 10 shutdown. The linked notice 118331 retires the qwen-tts / gummy / paraformer lines and recommends cosyvoice-v3-flash as the migration target for qwen-tts, but cosyvoice-v1 itself is not in that table, and I could not find another notice retiring it. The model plaza currently fronts cosyvoice-v3-flash, so an upgrade is probably due anyway, but I would rather not ship a "the sky is falling" default change on a citation I cannot reproduce. If you have the notice URL that names cosyvoice-v1, I will take that part too.
您好,感谢您对 AstrBot 项目的关注。
经过审查,该 Issue 不符合我们的提交规范,将被关闭。
该 Issue 存在以下问题之一或多项:
- 未按照 Issue 模板填写必要字段(如问题描述、复现步骤、环境信息、错误日志、使用场景、检查清单等)
- 正文内容过于简略或仅包含外部链接,缺乏足够的信息供维护者评估
- 内容为第三方服务推广,缺少技术论证
请您按照 Issue 模板 重新提交一份规范的报告,补充完整信息后我们会及时处理。
Hello, thank you for your interest in the AstrBot project.
After review, this Issue does not comply with our submission guidelines and will be closed.
This Issue has one or more of the following problems:
- Required fields from the Issue template are missing (e.g., problem description, reproduction steps, environment details, error logs, use case, checklist)
- The body is too brief or contains only external links, lacking sufficient information for maintainers to evaluate
- The content is a third-party service promotion without technical justification
Please resubmit a properly formatted report following the Issue template. We will address it promptly once the necessary information is provided.