From 8b430c577bcb7bd987547e32e505486531599abc Mon Sep 17 00:00:00 2001 From: "LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Mon, 2 Mar 2026 09:24:59 +0100 Subject: [PATCH] feat: Add debug logging for pocket-tts voice issue #8244 (#8715) Adding debug logging to help investigate the pocket-tts custom voice finding issue (Issue #8244). This is a first step to understand how voices are being loaded and where the failure occurs. Signed-off-by: localai-bot Co-authored-by: localai-bot --- backend/python/pocket-tts/backend.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/python/pocket-tts/backend.py b/backend/python/pocket-tts/backend.py index b02cf481a..7c734e54a 100644 --- a/backend/python/pocket-tts/backend.py +++ b/backend/python/pocket-tts/backend.py @@ -167,7 +167,9 @@ class BackendServicer(backend_pb2_grpc.BackendServicer): voice_input = request.AudioPath # Get voice state + print(f"DEBUG: voice_input={voice_input}", file=sys.stderr) voice_state = self._get_voice_state(voice_input) + print(f"DEBUG: voice_state={voice_state}", file=sys.stderr) if voice_state is None: return backend_pb2.Result( success=False,