Skip to content

Allowing to define the list of frame processors whose frames should be silently ignored by the RTVI observer.#3779

Merged
filipi87 merged 2 commits intomainfrom
filipi/filter_observer
Feb 20, 2026
Merged

Allowing to define the list of frame processors whose frames should be silently ignored by the RTVI observer.#3779
filipi87 merged 2 commits intomainfrom
filipi/filter_observer

Conversation

@filipi87
Copy link
Copy Markdown
Contributor

@filipi87 filipi87 commented Feb 19, 2026

Summary

  • Added ignored_sources parameter to RTVIObserverParams to specify a list of frame processors whose frames should be silently skipped by the RTVI observer
  • Added add_ignored_source() and remove_ignored_source() methods to RTVIObserver for dynamically managing the ignored sources at runtime
  • Useful for suppressing RTVI messages from secondary pipeline branches (e.g. a silent evaluation LLM) that should not be visible to clients

@filipi87 filipi87 force-pushed the filipi/filter_observer branch from ab1ffbd to 3a8d3cc Compare February 19, 2026 21:36
Comment on lines +159 to +161
rtvi_observer_params=RTVIObserverParams(
ignored_sources=[evaluator_llm]
),
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We can use like this.

@filipi87 filipi87 changed the title Allowing to to define the List of frame processors whose frames should be silently ignored by the RTVI observer. Allowing to define the list of frame processors whose frames should be silently ignored by the RTVI observer. Feb 19, 2026
@filipi87 filipi87 marked this pull request as ready for review February 19, 2026 21:40
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 19, 2026

Codecov Report

❌ Patch coverage is 62.50000% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pipecat/processors/frameworks/rtvi.py 62.50% 3 Missing ⚠️
Files with missing lines Coverage Δ
src/pipecat/processors/frameworks/rtvi.py 54.14% <62.50%> (+0.07%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aconchillo
Copy link
Copy Markdown
Contributor

LGTM!

@filipi87 filipi87 merged commit c9615c8 into main Feb 20, 2026
6 checks passed
@filipi87 filipi87 deleted the filipi/filter_observer branch February 20, 2026 17:42
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