mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-24 01:15:24 +08:00
fix(deps): pin SDK 0.7.12 for upstream stream cancellation (#2663)
Co-authored-by: Hyu <[email protected]>
This commit is contained in:
@@ -69,9 +69,10 @@ entire old Runtime against the current Core.
|
||||
explicit generator ownership without changing signatures, permissions, action
|
||||
payloads or error translation.
|
||||
|
||||
**Immediate remote cancellation requires the SDK companion fix.** Core's pinned
|
||||
SDK has not been silently replaced or upgraded. The E2E suite executes the close
|
||||
checks against published SDKs and reports their known failure as XFAIL. Set
|
||||
**Immediate remote cancellation requires SDK 0.7.12 or later.** Core now pins
|
||||
published SDK 0.7.12, which contains the companion fix. Separately deployed
|
||||
Runtime and plugin development environments also need the fixed SDK. The E2E
|
||||
suite reports the known close failure as XFAIL only for SDK <=0.7.11. Set
|
||||
`LLM_E2E_REQUIRE_STREAM_CLOSE=1` to require strict passing with the patched SDK;
|
||||
newer SDK versions must pass without this override. Historical API checks are
|
||||
explicitly skipped unless their released source files are supplied.
|
||||
|
||||
@@ -7,8 +7,10 @@ replay, model fallback, key rotation, or embedding/rerank retries.
|
||||
|
||||
The public API remains compatible with existing plugins. Full-chain testing
|
||||
identified a pre-existing SDK <=0.7.11 early-close defect: prompt remote
|
||||
cancellation through public plugin/Runner wrappers requires the companion
|
||||
[SDK fix](https://github.com/langbot-app/langbot-plugin-sdk/pull/177).
|
||||
cancellation through public plugin/Runner wrappers requires SDK 0.7.12 or later,
|
||||
which includes the [SDK fix](https://github.com/langbot-app/langbot-plugin-sdk/pull/177).
|
||||
Core now pins 0.7.12; separately deployed Runtime and plugin development
|
||||
environments must also install a version containing the fix.
|
||||
See [E2E acceptance results](LLM_REQUEST_E2E.md) for tested versions and scope.
|
||||
|
||||
## Configuration
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@ dependencies = [
|
||||
"langchain-text-splitters>=1.1.2",
|
||||
"chromadb>=1.0.0,<2.0.0",
|
||||
"qdrant-client (>=1.15.1,<2.0.0)",
|
||||
"langbot-plugin==0.7.11",
|
||||
"langbot-plugin==0.7.12",
|
||||
"asyncpg>=0.30.0",
|
||||
"line-bot-sdk>=3.19.0",
|
||||
"matrix-nio>=0.25.2",
|
||||
|
||||
@@ -2185,7 +2185,7 @@ requires-dist = [
|
||||
{ name = "gewechat-client", specifier = ">=0.1.5" },
|
||||
{ name = "html2text", specifier = ">=2024.2.26" },
|
||||
{ name = "httpx", extras = ["socks"], specifier = ">=0.28.1" },
|
||||
{ name = "langbot-plugin", specifier = "==0.7.11" },
|
||||
{ name = "langbot-plugin", specifier = "==0.7.12" },
|
||||
{ name = "langchain", specifier = ">=1.3.9" },
|
||||
{ name = "langchain-core", specifier = ">=1.3.3" },
|
||||
{ name = "langchain-text-splitters", specifier = ">=1.1.2" },
|
||||
@@ -2255,7 +2255,7 @@ dev = [
|
||||
|
||||
[[package]]
|
||||
name = "langbot-plugin"
|
||||
version = "0.7.11"
|
||||
version = "0.7.12"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "aiofiles" },
|
||||
@@ -2276,9 +2276,9 @@ dependencies = [
|
||||
{ name = "watchdog" },
|
||||
{ name = "websockets" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/6a/c4/ed01dd73ab5047c75a0563dd38b88146d5d509b889197d5ec47fc27541e5/langbot_plugin-0.7.11.tar.gz", hash = "sha256:19f57a020d435fd414b02cbc477a70f880a462cba73e4ec767fb7dbbffb1bc56", size = 697187, upload-time = "2026-10-14T07:41:24.85Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/67/4c/0286247a6caa24a21328fe5dae32b295635143cb863d9eb879384bf613ce/langbot_plugin-0.7.12.tar.gz", hash = "sha256:36a661bfe25233a5c4d74e86568df6831e9055e1b6c88bfad8dee7c2e207766e", size = 697786, upload-time = "2026-10-15T12:01:17.213Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/53/5b/959ca0b62eac62a95f7740ba3f7c36dd34a1d7ae8499eff17e417b5d2706/langbot_plugin-0.7.11-py3-none-any.whl", hash = "sha256:234d31a8ed4df7e3d8c648735062e8ceba90ac81dfa51a6c678be5a872b505fe", size = 447857, upload-time = "2026-10-14T07:41:23.14Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/5c/34/2e40056497e60411e851b30320087e1385865b6357185a05e40a75ef81ca/langbot_plugin-0.7.12-py3-none-any.whl", hash = "sha256:b0bbd6bbfedf15ed48377c3904c73af62c4ee88a676b06649b470fc1bad9416a", size = 448016, upload-time = "2026-10-15T12:01:15.542Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
Reference in New Issue
Block a user