Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: preserve unavailable legacy Qwen3 bindings (#6746)

[._.]/ Adam Eivyc2e971228e46
diff --git a/client/src/components/voice/VoicePicker.jsx b/client/src/components/voice/VoicePicker.jsx
index 6378b99550..75e36a3a08 100644
--- a/client/src/components/voice/VoicePicker.jsx
+++ b/client/src/components/voice/VoicePicker.jsx
@@ -162,7 +162,7 @@ export default function VoicePicker({
what they had bound before — losing it silently to a dropdown
reset would mask the underlying drift. */}
{value && !voices.some((v) => v.id === catalogValue) ? (
- <option value={value}>{value} (unavailable)</option>
+ <option value={catalogValue}>{value} (unavailable)</option>
) : null}
{engineKeys.map((engine) => (
<optgroup key={engine} label={engine.charAt(0).toUpperCase() + engine.slice(1)}>
diff --git a/client/src/components/voice/VoicePicker.test.jsx b/client/src/components/voice/VoicePicker.test.jsx
index 9be8f1b91d..386a6f72e1 100644
--- a/client/src/components/voice/VoicePicker.test.jsx
+++ b/client/src/components/voice/VoicePicker.test.jsx
@@ -106,6 +106,17 @@ describe('VoicePicker', () => {
.not.toBeInTheDocument();
});
+ it('preserves an unavailable legacy Qwen3 voiceId after normalizing the select value', async () => {
+ listPipelineTtsVoices.mockResolvedValue({ voices: SAMPLE_VOICES });
+ render(<VoicePicker value="qwen3:retired-voice" onChange={() => {}} />);
+
+ await waitFor(() => {
+ expect(screen.getByRole('combobox')).toHaveValue('qwen3-tts:retired-voice');
+ });
+ expect(screen.getByRole('option', { name: 'qwen3:retired-voice (unavailable)' }))
+ .toBeInTheDocument();
+ });
+
it('audition button posts to preview and pipes the wav through playWav', async () => {
listPipelineTtsVoices.mockResolvedValue({ voices: SAMPLE_VOICES });
const buf = new ArrayBuffer(8);