Skip to content

fix(pipecat): filter classifier usage metrics - #813

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/sdk-428-filter-pipecat-classifier-tokens-from-llm-metrics
Sep 29, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/sdk-428-filter-pipecat-classifier-tokens-from-llm-metrics

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

Summary

  • Filter LLMUsageMetricsData by its processor name so classifier token usage does not inflate LLM span metrics.
  • Add a regression test using Pipecat's metrics models and MetricsFrame.

Linear issue: SDK-428
Parent issue: SDK-426

Testing

  • mise exec -- uv run --project . nox -s 'test_pipecat(latest)'
  • mise exec -- uv run --project . nox -s 'test_pipecat(1.3.0)' -- -k 'filters_metrics_from_other_processors'
  • Ruff and git diff --check

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-28T20:01:11.477569Z a279187 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit 227083e into main Sep 29, 2026
83 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/sdk-428-filter-pipecat-classifier-tokens-from-llm-metrics branch September 29, 2026 14:34
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