Skip to content

Conversation

ml-evs
Copy link
Member

@ml-evs ml-evs commented Aug 20, 2025

This allows us to drop several unnecessary deps, though does remove the ability to guess if a chat message is going out of context ahead of time (which is useful when stuffing with lots of info from an item), though less important now context windows are huge. Need to think a a bit about the best trade off.

Copy link

codecov bot commented Aug 20, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 79.02%. Comparing base (1b15f3f) to head (eb0d15f).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pydatalab/src/pydatalab/apps/chat/blocks.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1321      +/-   ##
==========================================
+ Coverage   78.90%   79.02%   +0.11%     
==========================================
  Files          68       68              
  Lines        4674     4667       -7     
==========================================
  Hits         3688     3688              
+ Misses        986      979       -7     
Files with missing lines Coverage Δ
pydatalab/src/pydatalab/apps/chat/blocks.py 61.53% <66.66%> (+3.47%) ⬆️
🚀 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.

Copy link

cypress bot commented Aug 20, 2025

datalab    Run #3759

Run Properties:  status check passed Passed #3759  •  git commit 627ae5a0f5 ℹ️: Merge eb0d15f8358bb66700733476ab425264fbaaa62b into 5ec2ac5f1ed71607c3e272518f63...
Project datalab
Branch Review ml-evs/tidy-up-langchain-token-counting
Run status status check passed Passed #3759
Run duration 07m 49s
Commit git commit 627ae5a0f5 ℹ️: Merge eb0d15f8358bb66700733476ab425264fbaaa62b into 5ec2ac5f1ed71607c3e272518f63...
Committer Matthew Evans
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 336
View all changes introduced in this branch ↗︎

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.

1 participant