| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Codecov Results 📊✅ 99560 passed | ⏭️ 6671 skipped | Total: 106231 | Pass Rate: 93.72% | Execution Time: 348m 44s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 88.89%. Project has 2501 uncovered lines.
@@ Coverage Diff @@
## main #PR +/-##
==========================================
- Coverage 90.01% 90.00% -0.01%
==========================================
Files 193 193 —
Lines 25020 25021 +1
Branches 9032 9032 —
==========================================
+ Hits 22521 22520 -1
- Misses 2499 2501 +2
- Partials 1434 1438 +4Generated by Codecov Action |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Take token usage from the first candidate object in each generation, instead of summing token usage from each candidate.
The inner list in LLMResult.generations contains candidate generations (multiple output choices). Candidates do not have independent token usage, but langchain hooks duplicate the token usage on each candidate.
Add a test using a google-genai response, as ChatOpenAI models do not enter the else: branch below:
sentry-python/sentry_sdk/integrations/langchain.py
Lines 769 to 774 in f670a1b
Issues
Reminders