fix(anthropic): support automatic compaction (Opus 4.6) (#35034)

This commit is contained in:
ccurme
2026-02-05 16:41:25 -05:00
committed by GitHub
parent d181a59ebe
commit 74b3344679
6 changed files with 151 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
version = 1
revision = 3
revision = 2
requires-python = ">=3.10.0, <4.0.0"
resolution-markers = [
"python_full_version >= '3.13' and platform_python_implementation == 'PyPy'",
@@ -24,7 +24,7 @@ wheels = [
[[package]]
name = "anthropic"
version = "0.75.0"
version = "0.78.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "anyio" },
@@ -36,9 +36,9 @@ dependencies = [
{ name = "sniffio" },
{ name = "typing-extensions" },
]
sdist = { url = "https://files.pythonhosted.org/packages/04/1f/08e95f4b7e2d35205ae5dcbb4ae97e7d477fc521c275c02609e2931ece2d/anthropic-0.75.0.tar.gz", hash = "sha256:e8607422f4ab616db2ea5baacc215dd5f028da99ce2f022e33c7c535b29f3dfb", size = 439565, upload-time = "2025-11-24T20:41:45.28Z" }
sdist = { url = "https://files.pythonhosted.org/packages/ec/51/32849a48f9b1cfe80a508fd269b20bd8f0b1357c70ba092890fde5a6a10b/anthropic-0.78.0.tar.gz", hash = "sha256:55fd978ab9b049c61857463f4c4e9e092b24f892519c6d8078cee1713d8af06e", size = 509136, upload-time = "2026-02-05T17:52:04.986Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/60/1c/1cd02b7ae64302a6e06724bf80a96401d5313708651d277b1458504a1730/anthropic-0.75.0-py3-none-any.whl", hash = "sha256:ea8317271b6c15d80225a9f3c670152746e88805a7a61e14d4a374577164965b", size = 388164, upload-time = "2025-11-24T20:41:43.587Z" },
{ url = "https://files.pythonhosted.org/packages/3b/03/2f50931a942e5e13f80e24d83406714672c57964be593fc046d81369335b/anthropic-0.78.0-py3-none-any.whl", hash = "sha256:2a9887d2e99d1b0f9fe08857a1e9fe5d2d4030455dbf9ac65aab052e2efaeac4", size = 405485, upload-time = "2026-02-05T17:52:03.674Z" },
]
[[package]]
@@ -498,7 +498,7 @@ wheels = [
[[package]]
name = "langchain"
version = "1.2.7"
version = "1.2.9"
source = { editable = "../../langchain_v1" }
dependencies = [
{ name = "langchain-core" },
@@ -607,7 +607,7 @@ typing = [
[package.metadata]
requires-dist = [
{ name = "anthropic", specifier = ">=0.75.0,<1.0.0" },
{ name = "anthropic", specifier = ">=0.78.0,<1.0.0" },
{ name = "langchain-core", editable = "../../core" },
{ name = "pydantic", specifier = ">=2.7.4,<3.0.0" },
]
@@ -646,7 +646,7 @@ typing = [
[[package]]
name = "langchain-core"
version = "1.2.7"
version = "1.2.9"
source = { editable = "../../core" }
dependencies = [
{ name = "jsonpatch" },
@@ -706,7 +706,7 @@ typing = [
[[package]]
name = "langchain-tests"
version = "1.1.2"
version = "1.1.4"
source = { editable = "../../standard-tests" }
dependencies = [
{ name = "httpx" },