Skip to content

fix(llm): collect token usage with quiet output - #3957

Merged
MervinPraison merged 2 commits into
MervinPraison:mainfrom
dajiaohuang:fix/3933-token-collector-default
Aug 15, 2026
Merged

MervinPraison merged 2 commits into
MervinPraison:mainfrom
dajiaohuang:fix/3933-token-collector-default

fix(llm): cover all non-stream usage paths

4d6b9a1
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 14, 2026 in 0s

33.23% (+0.15%) compared to 05f6a6f

View this Pull Request on Codecov

33.23% (+0.15%) compared to 05f6a6f

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 33.23%. Comparing base (05f6a6f) to head (4d6b9a1).
⚠️ Report is 36 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3957      +/-   ##
==========================================
+ Coverage   33.07%   33.23%   +0.15%     
==========================================
  Files         535      535              
  Lines       56061    56044      -17     
==========================================
+ Hits        18543    18626      +83     
+ Misses      37518    37418     -100     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.