1.7.61w ago
langchain-core langchain-core==1.7.6
Key point
langchain-core 1.7.6 significantly improves performance by optimizing streaming message merging and partial JSON parsing logic.
Details
- Performance improvement: Optimized the merging of streamed messages to occur only once when accumulating
AIMessageChunkinto mutable runnable streams, increasing processing efficiency. - Performance improvement: Improved parsing performance by removing the inefficient behavior of the
parse_partial_jsonfunction that retried character by character.