Skip to content

Downgrade unrecognized language string log from warning to debug#4137

Merged
markbackman merged 3 commits intomainfrom
mb/language-string-log-level-debug
Mar 25, 2026
Merged

Downgrade unrecognized language string log from warning to debug#4137
markbackman merged 3 commits intomainfrom
mb/language-string-log-level-debug

Conversation

@markbackman
Copy link
Copy Markdown
Contributor

@markbackman markbackman commented Mar 25, 2026

Summary

  • Downgraded the "not a recognized Language code" log message from warning to debug in both STTService and TTSService
  • Service-specific language strings like Deepgram's "multi" are valid pass-through values that work correctly, so the warning was unnecessarily alarming

Fixes

Service-specific language strings like Deepgram's "multi" are valid
pass-through values, not issues worth warning about.
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/pipecat/services/stt_service.py 40.14% <100.00%> (ø)
src/pipecat/services/tts_service.py 69.05% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@filipi87 filipi87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@markbackman markbackman merged commit 4ee4002 into main Mar 25, 2026
6 checks passed
@markbackman markbackman deleted the mb/language-string-log-level-debug branch March 25, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deepgram Nova-3 multilingual STT: mismatch with pipecat Language enum causing warning

2 participants