Add support for Fish Audio s2-pro model#165269
Add support for Fish Audio s2-pro model#165269justanotherariel merged 1 commit intohome-assistant:devfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds support for the Fish Audio s2-pro model to the Fish Audio TTS integration. It adds s2-pro as the first (and therefore default) backend model option, replacing s1 as the default for new TTS voice configurations.
Changes:
- Added
"s2-pro"to the beginning of theBACKEND_MODELSlist inconst.py - Updated the default backend model selection in the config flow schema from
"s1"to"s2-pro"
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
homeassistant/components/fish_audio/const.py |
Added "s2-pro" as the first entry in BACKEND_MODELS |
homeassistant/components/fish_audio/config_flow.py |
Updated default backend value from "s1" to "s2-pro" in get_model_selection_schema |
|
I tested it on the 1.00 version and it worked (maybe there was a silent fallback). |
|
Ok, if you say it works we can merge right now and you can create a follow up PR which bumps the version. |
Breaking change
Proposed change
Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: