Skip to content

Conversation

@filipi87
Copy link
Contributor

Ensure to push LLMFullResponseEndFrame if the sentence is empty.

@filipi87 filipi87 requested a review from aconchillo November 18, 2025 22:50
@codecov
Copy link

codecov bot commented Nov 18, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

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

Comment on lines +367 to +370
# Ensure the sentence is not empty. In some cases, such as function calling, the
# LLMFullResponseEndFrame may never be pushed into the pipeline, which would
# cause issues if we proceed without "or not sentence" this check.
if self._push_text_frames or not sentence:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@aconchillo , @markbackman , I believe we should investigate if this is the right fix or not for this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Once we are happy with the fix, we can restore the changes from this PR.

@filipi87 filipi87 requested a review from markbackman November 19, 2025 00:51
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.

2 participants