Repository navigation
docs: the Python SDK defaults to s2.1-pro (since 1.4.0) - #418
Conversation
fish-audio-sdk 1.4.0 changed the default TTS model from s2-pro to s2.1-pro and widened the Model type (s2.1-pro, s2.1-pro-free, drama-3, any str). Correct the Text to Speech page and the SDK skill, which still said s2-pro and asked for # type: ignore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
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. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Since
fish-audio-sdk1.4.0 (fishaudio/fish-audio-python#162), the Python SDK's text-to-speech methods default tomodel="s2.1-pro". ItsModeltype also includess2.1-pro,s2.1-pro-freeanddrama-3, and accepts any string. The docs and the SDK skill still said the default iss2-proand thats2.1-proneeds# type: ignore. That was true only up to 1.3.0.What changed
features/text-to-speech.mdx: the Models paragraph now says the default iss2.1-profrom 1.4.0 (s2-probefore).SKILL.md,references/text-to-speech.md,references/websocket.md): corrected the default and themodelparameter type, removed the# type: ignoreadvice for Python, and changed the Python examples and the name map frommodel="s2-pro"tomodel="s2.1-pro". The JavaScript text is unchanged; docs(sdk): update JavaScript SDK pages for fish-audio 0.2.0 #410 updates it forfish-audio0.2.0.Checked
Modeltype in the released 1.3.0, 1.4.0, 1.5.0 and 1.6.0 wheels from PyPI. In 1.4.0 through 1.6.0, every TTS method, includingstream_websocket, defaults to"s2.1-pro".llms.txt). The cookbooks pass a model explicitly, so they are unaffected.mainstill showss2-prosignatures; the bot PR Update Python SDK API Reference #112 regenerates it.Conflicts with #410, which rewrites the same lines and still says the Python default is
s2-pro. The fix rebased onto #410 is ready to apply to whichever of the two merges second.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.