Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
braintrustdata
/
braintrust-sdk-javascript
Public
Notifications
You must be signed in to change notification settings
Fork
12
Star
27
Code
Issues
68
Pull requests
19
Actions
Projects
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
support prompt caching token tracking in langchain
- #1250
#1250
Merged
Olmo Maldonado (ibolmo)
merged 13 commits into
main
braintrustdata/braintrust-sdk-javascript:main
from
fix/langchain-cache-tokens
braintrustdata/braintrust-sdk-javascript:fix/langchain-cache-tokens
Copy head branch name to clipboard
Jan 24, 2026
Conversation
Commits
13
(13)
Checks
Files changed
Merged
support prompt caching token tracking in langchain
#1250
Olmo Maldonado (ibolmo)
merged 13 commits into
main
braintrustdata/braintrust-sdk-javascript:main
from
fix/langchain-cache-tokens
braintrustdata/braintrust-sdk-javascript:fix/langchain-cache-tokens
Copy head branch name to clipboard
Commits
Commits on Jan 9, 2026
feat(langchain): extract cache token metrics from input_token_details
Show description for f239637
direkt
and
Claude (claude)
committed
f239637
View commit details
Copy full SHA for f239637
Browse repository at this point
Commits on Jan 20, 2026
Merge branch 'main' into fix/langchain-cache-tokens
Olmo Maldonado (ibolmo)
committed
fedaf60
View commit details
Copy full SHA for fedaf60
Browse repository at this point
Commits on Jan 21, 2026
test(langchain-py): cover cache token metrics
direkt
committed
08205f4
View commit details
Copy full SHA for 08205f4
Browse repository at this point
Update the tests per the recommendation.
direkt
committed
583a46b
View commit details
Copy full SHA for 583a46b
Browse repository at this point
Merge branch 'main' into fix/langchain-cache-tokens
Olmo Maldonado (ibolmo)
committed
3a43499
View commit details
Copy full SHA for 3a43499
Browse repository at this point
add test coverage for prompt caching
Olmo Maldonado (ibolmo)
committed
326c9d5
View commit details
Copy full SHA for 326c9d5
Browse repository at this point
Merge remote-tracking branch 'origin/fix/langchain-cache-tokens' into fix/langchain-cache-tokens
Olmo Maldonado (ibolmo)
committed
d091c89
View commit details
Copy full SHA for d091c89
Browse repository at this point
remove extr atest
Olmo Maldonado (ibolmo)
committed
7f1e8dc
View commit details
Copy full SHA for 7f1e8dc
Browse repository at this point
bump version
Olmo Maldonado (ibolmo)
committed
224a99a
View commit details
Copy full SHA for 224a99a
Browse repository at this point
revert dev changes and fix tests
Olmo Maldonado (ibolmo)
committed
22ce5c2
View commit details
Copy full SHA for 22ce5c2
Browse repository at this point
Commits on Jan 22, 2026
fix langchain-js
Olmo Maldonado (ibolmo)
committed
546383a
View commit details
Copy full SHA for 546383a
Browse repository at this point
Merge branch 'main' into fix/langchain-cache-tokens
Olmo Maldonado (ibolmo)
committed
147eab6
View commit details
Copy full SHA for 147eab6
Browse repository at this point
fix assert
Olmo Maldonado (ibolmo)
committed
c98e47e
View commit details
Copy full SHA for c98e47e
Browse repository at this point
You can’t perform that action at this time.