Add client service metadata sanitization and debug source check
This commit is contained in:
@@ -2296,10 +2296,10 @@ export const DebugDrawer: React.FC<{
|
||||
useEffect(() => {
|
||||
if (!isOpen) return;
|
||||
if (!wsRef.current || wsRef.current.readyState !== WebSocket.OPEN) return;
|
||||
// If core TTS-related settings changed while drawer stays open,
|
||||
// If core runtime settings changed while drawer stays open,
|
||||
// reset the active WS session so the next launch uses new metadata.
|
||||
closeWs();
|
||||
}, [isOpen, assistant.id, assistant.voice, assistant.speed]);
|
||||
}, [isOpen, assistant.id, assistant.voice, assistant.speed, assistant.asrModelId]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!textTtsEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user