Repository navigation
docs: name s3-pro-free as the free tier and correct retirement targets - #203
Conversation
Add s3-pro-free to the Model type and use it in the README free-tier example; s2.1-pro-free stays accepted as its earlier name. After December 31, 2026, s1 is served by s3-pro and transcribe-1 by transcribe-2-pro, which is now the recommended ASR model in the README and asr docstrings. Update the deprecation warnings and the tests that pin them.
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
The API accepts latency "low" on s3-pro-free, so the type comment no longer says otherwise. Add a test that the Model type names s3-pro-free and s2.1-pro-free, which the header pass-through test cannot catch.
There was a problem hiding this comment.
🟢 Approval recommended
No active issues are identified, and the model updates, compatibility coverage, deprecation expectations, documentation, and tests are aligned.
No open issues 🎉
What changed in this PR
Updates SDK model names and documentation to reflect the s3-pro-free tier and corrected retirement targets.
Changes:
- Adds
s3-pro-freewhile retainings2.1-pro-freecompatibility. - Corrects retirement mappings and refreshes ASR recommendations.
- Updates tests and README guidance.
| File | Description |
|---|---|
| tests/unit/test_tts.py | Tests both free-tier model names. |
| tests/unit/test_deprecated_models.py | Updates deprecation expectations and current-model coverage. |
| src/fishaudio/types/shared.py | Adds the new free-tier model and corrected warnings. |
| src/fishaudio/resources/asr.py | Updates recommended ASR model documentation. |
| README.md | Refreshes model guidance and examples. |
Review effort: Lite
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
What
The SDK's wording and model lists follow the backend and the live docs after the S3 Pro launch.
s3-pro-free(the same model as S3 Pro at $0, under fair-use limits).s2.1-pro-freeis its earlier name: still accepted, served bys3-pro-free.s1is served bys3-proandtranscribe-1bytranscribe-2-pro.transcribe-2-prois the recommended model for recordings.Before / after
Before: the README, comments and warnings called
s2.1-pro-freethe free tier and sents1tos2.1-proandtranscribe-1totranscribe-1-pro. That contradicted https://docs.fish.audio/developer-guide/models-pricing/deprecations.After: the new names are in the model types and the text. No default model and no request behaviour changed.
Verification
The repo's lint, type check and unit tests pass locally.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.