langchain-core==1.2.9
📦 langchainView on GitHub →
✨ 1 features🐛 2 fixes
Summary
This release focuses on improving approximate token counting by allowing scaling based on reported usage and adjusting the capping mechanism. It also reverts a previous change regarding hex color regex precompilation.
Migration Steps
- Revert changes related to precompiling hex color regex pattern at module level if they caused issues.
✨ New Features
- Allow scaling by reported usage when counting tokens approximately.
🐛 Bug Fixes
- Adjust cap when scaling approximate token counts.
- Apply cap when scaling approximate token counts.