Skip to content

fix(livekit): capture STT usage metrics - #818

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/sdk-430-capture-new-livekit-stt-usage-fields
Sep 29, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/sdk-430-capture-new-livekit-stt-usage-fields

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

Summary

  • Preserve input_audio_tokens and total_tokens from LiveKit STT metrics in span metadata.
  • Assert both fields on the existing cassette-backed voice-turn test when the installed LiveKit version exposes them.

Validation

  • Passed: mise exec --fresh-env -- nox -s 'test_livekit_agents(1.3.1)' -- -k auto_instrument_livekit_agents_openai_e2e_voice_turn
  • Pre-commit hooks passed during commit.
  • Latest-version VCR validation could not be completed locally: the locked test dependency group downgrades the 1.8.3 matrix package to 1.3.5, and manually aligned 1.8.3 plugins do not match the existing cassette's TTS request.

@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:06:48.884116Z 488d8a0 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 4c1f52e into main Sep 29, 2026
83 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/sdk-430-capture-new-livekit-stt-usage-fields branch September 29, 2026 14:35
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