langgraph-api 0.2.98__py3-none-any.whl → 0.2.99__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of langgraph-api might be problematic. Click here for more details.

langgraph_api/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.2.98"
1
+ __version__ = "0.2.99"
langgraph_api/api/runs.py CHANGED
@@ -452,8 +452,14 @@ async def cancel_runs(
452
452
  status_code=422,
453
453
  detail="Invalid status: must be 'pending', 'running', or 'all'",
454
454
  )
455
- thread_id = None
455
+ if body.get("thread_id") or body.get("run_ids"):
456
+ raise HTTPException(
457
+ status_code=422,
458
+ detail="When providing a 'status', 'thread_id' and 'run_ids' must be omitted. "
459
+ "The 'status' parameter cancels all runs with the given status, regardless of thread or run ID.",
460
+ )
456
461
  run_ids = None
462
+ thread_id = None
457
463
  else:
458
464
  thread_id = body.get("thread_id")
459
465
  run_ids = body.get("run_ids")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langgraph-api
3
- Version: 0.2.98
3
+ Version: 0.2.99
4
4
  Author-email: Nuno Campos <nuno@langchain.dev>, Will Fu-Hinthorn <will@langchain.dev>
5
5
  License: Elastic-2.0
6
6
  License-File: LICENSE
@@ -12,7 +12,7 @@ Requires-Dist: jsonschema-rs<0.30,>=0.20.0
12
12
  Requires-Dist: langchain-core>=0.3.64
13
13
  Requires-Dist: langgraph-checkpoint>=2.0.23
14
14
  Requires-Dist: langgraph-runtime-inmem<0.7,>=0.6.0
15
- Requires-Dist: langgraph-sdk>=0.1.71
15
+ Requires-Dist: langgraph-sdk>=0.1.74
16
16
  Requires-Dist: langgraph>=0.3.27
17
17
  Requires-Dist: langsmith>=0.3.45
18
18
  Requires-Dist: orjson>=3.9.7
@@ -1,4 +1,4 @@
1
- langgraph_api/__init__.py,sha256=SZSk7mJkvklaLjMr4nqLhJATWHlSnR87dAGE8WoUVrk,23
1
+ langgraph_api/__init__.py,sha256=unbm6aMJnlE7ig-L8G69Amu7KIiYpnO-YG4-H6hA--c,23
2
2
  langgraph_api/asgi_transport.py,sha256=eqifhHxNnxvI7jJqrY1_8RjL4Fp9NdN4prEub2FWBt8,5091
3
3
  langgraph_api/asyncio.py,sha256=Wv4Rwm-a-Cf6JpfgJmVuVlXQ7SlwrjbTn0eq1ux8I2Q,9652
4
4
  langgraph_api/cli.py,sha256=-R0fvxg4KNxTkSe7xvDZruF24UMhStJYjpAYlUx3PBk,16018
@@ -33,7 +33,7 @@ langgraph_api/api/assistants.py,sha256=w7nXjEknDVHSuP228S8ZLh4bG0nRGnSwVP9pECQOK
33
33
  langgraph_api/api/mcp.py,sha256=qe10ZRMN3f-Hli-9TI8nbQyWvMeBb72YB1PZVbyqBQw,14418
34
34
  langgraph_api/api/meta.py,sha256=fmc7btbtl5KVlU_vQ3Bj4J861IjlqmjBKNtnxSV-S-Q,4198
35
35
  langgraph_api/api/openapi.py,sha256=KToI2glOEsvrhDpwdScdBnL9xoLOqkTxx5zKq2pMuKQ,11957
36
- langgraph_api/api/runs.py,sha256=37phCkg8pgEQZQNqFlehIHmvVbdeD8A1ojV7Vk7Mm08,19944
36
+ langgraph_api/api/runs.py,sha256=WlZ_gzS7S4YOBMzKOZSlJm-2Qullj61u47-3lFDK8U0,20291
37
37
  langgraph_api/api/store.py,sha256=TSeMiuMfrifmEnEbL0aObC2DPeseLlmZvAMaMzPgG3Y,5535
38
38
  langgraph_api/api/threads.py,sha256=nQMlGnsrFD1F4S-ID_q0HZrF2GZ0Pm7aV04Sh1eYgds,9588
39
39
  langgraph_api/api/ui.py,sha256=17QrRy2XVzP7x_0RdRw7pmSv-n1lmnb54byHCGGeNhM,2490
@@ -94,8 +94,8 @@ langgraph_runtime/store.py,sha256=7mowndlsIroGHv3NpTSOZDJR0lCuaYMBoTnTrewjslw,11
94
94
  LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
95
95
  logging.json,sha256=3RNjSADZmDq38eHePMm1CbP6qZ71AmpBtLwCmKU9Zgo,379
96
96
  openapi.json,sha256=p5tn_cNRiFA0HN3L6JfC9Nm16Hgv-BxvAQcJymKhVWI,143296
97
- langgraph_api-0.2.98.dist-info/METADATA,sha256=f0zTw-SE99YhdobRyKgWNLbb258h6mJS2y9HXslnByE,3891
98
- langgraph_api-0.2.98.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
- langgraph_api-0.2.98.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
100
- langgraph_api-0.2.98.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
101
- langgraph_api-0.2.98.dist-info/RECORD,,
97
+ langgraph_api-0.2.99.dist-info/METADATA,sha256=lHUXblBD756fXt6yZ7OibMl7rOBGRIwYl4i7nxxLBeQ,3891
98
+ langgraph_api-0.2.99.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
+ langgraph_api-0.2.99.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
100
+ langgraph_api-0.2.99.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
101
+ langgraph_api-0.2.99.dist-info/RECORD,,