开源LangChain Releases·原文 2026年11月2日本站收录 2026年11月3日

LangChain发布langchain-anthropic 1.7.8,修复压缩块索引与缓存创建token计数

该版本较 1.7.7 包含一项版本发布提交和两项修复:从压缩块中移除index,以及处理为空的缓存创建token计数。

LangChain发布langchain-anthropic 1.7.8。发布说明列出相对 1.7.7 的三项变更:版本发布提交 #41638,以及两项修复,分别是从压缩块中移除index(#41637)和处理为空的缓存创建token计数(#41553)。

1.7.8 中的两项修复

发布说明将 #41637 描述为从压缩块中移除index,将 #41553 描述为处理为空的缓存创建token计数。两项修复均以anthropic为范围标注。

  • #41637:strip index from compaction blocks
  • #41553:handle null cache-creation token counts

发布信息范围

发布说明只列出上述提交,未说明这些修复影响哪些调用场景、在什么条件下触发,也未给出修复前后的输出差异或测试结果。

信息来源

LangChain Releases原始来源