Skip to content

feat(tts): add s3-pro and make it the default model - #199

Merged
lumpinif merged 7 commits into
mainfrom
feat/s3-pro-default
Dec 2, 2026
Merged

lumpinif merged 7 commits into
mainfrom
feat/s3-pro-default

Conversation

@lumpinif

@lumpinif lumpinif commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Draft: not to be merged before S3 Pro is released and confirmed as served.

Adds s3-pro as a selectable TTS model and makes it the model used when none is set. Replaces #180, whose commits are included here, so that the launch is one pull request in this repository.

Requests that do not set a model are sent as s3-pro. In 1.7.x and earlier they were sent as s2.1-pro. This applies to convert, stream, stream_websocket, stream_with_timestamps and convert_with_timestamps, sync and async.

For a caller who sets no model Before After
model sent s2.1-pro s3-pro
a caller who sets a model unchanged unchanged

To keep the previous model: client.tts.convert(text="Hello", model="s2.1-pro")

To confirm before this merges: that s3-pro is served (the API answers 200 for any model name, so a 200 alone does not prove it); the official wording for the model in place of the neutral "S3 Pro"; the public price of s3-pro, and that tag syntax and multi-speaker input behave as with s2.1-pro. The release notes carry an upgrade note with the two sentences above and the line that keeps the previous model.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

lumpinif and others added 2 commits November 24, 2026 21:59
Add s3-pro to the Model Literal so type checkers accept it, show it in the
README model examples, and pin the model header in a unit test. The default
model is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Behaviour change: when no model is passed, convert, stream,
stream_websocket, stream_with_timestamps and convert_with_timestamps
(sync and async) now send "model: s3-pro" instead of "model: s2.1-pro".
Callers who need the previous behaviour pass model="s2.1-pro".

Tests pin the default on the HTTP, WebSocket and timestamp paths.
@lumpinif
lumpinif force-pushed the feat/s3-pro-default branch from e153829 to 8b3bf08 Compare November 30, 2026 15:25
@codecov

codecov Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/fishaudio/resources/tts.py 96.63% <ø> (ø)
src/fishaudio/types/shared.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lumpinif lumpinif changed the title feat(tts): default to s3-pro feat(tts): add s3-pro and make it the default model Dec 1, 2026
@lumpinif
lumpinif changed the base branch from feat/s3-pro to main December 1, 2026 07:10
@lumpinif lumpinif mentioned this pull request Dec 1, 2026
s3-pro is now the default model; the warning still sent users to
s2.1-pro. The s1 warning keeps s2.1-pro: that is the model s1 requests
are served by after December 31, 2026.
# Conflicts:
#	src/fishaudio/resources/tts.py
The handshake-headers test from main wrote out the old default model;
on this branch the default is s3-pro.
@lumpinif
lumpinif marked this pull request as ready for review December 2, 2026 11:37
Copilot AI lite review requested due to automatic review settings December 2, 2026 11:37
@lumpinif
lumpinif merged commit df37ced into main Dec 2, 2026
26 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-12-02T11:37:47.772663Z
We couldn’t complete this review. Comment @codex review to try again.
1a64623 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@lumpinif
lumpinif deleted the feat/s3-pro-default branch December 2, 2026 11:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

An active test-coverage issue remains because the new s3-pro model is missing from both sync and async deprecation-check parameter lists.

1 open issue
What changed in this PR

Adds s3-pro support and makes it the default TTS model across synchronous, asynchronous, timestamped, and WebSocket APIs.

Changes:

  • Adds s3-pro to supported model types.
  • Updates TTS defaults, tests, and WebSocket expectations.
  • Updates documentation and deprecation guidance.
File Description
tests/​unit/​test_websocket_headers.py Updates WebSocket handshake expectations for the new default model.
tests/​unit/​test_tts.py Updates standard TTS tests for s3-pro defaults.
tests/​unit/​test_tts_timestamps.py Tests timestamped TTS APIs with the new default model.
tests/​unit/​test_tts_realtime.py Updates realtime TTS tests for s3-pro defaults.
tests/​unit/​test_deprecated_models.py Updates deprecation-related model expectations.
src/​fishaudio/​types/​shared.py Adds s3-pro to supported model types and updates warning text.
src/​fishaudio/​resources/​tts.py Changes synchronous and asynchronous TTS defaults to s3-pro.
README.md Documents the new default model and legacy model selection.

Review effort: Lite


# Model types
Model = Literal["s1", "s2-pro", "s2.1-pro", "s2.1-pro-free", "drama-3"]
Model = Literal["s1", "s2-pro", "s2.1-pro", "s2.1-pro-free", "drama-3", "s3-pro"]
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.

2 participants