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 <localai-bot@users.noreply.github.com>
Co-authored-by: localai-bot <localai-bot@users.noreply.github.com>
This commit is contained in:
LocalAI [bot]
2026-03-02 09:24:59 +01:00
committed by GitHub
parent 0063e5d68f
commit 8b430c577b

View File

@@ -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,