langgraph-api 0.2.115__py3-none-any.whl → 0.2.117__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.115"
1
+ __version__ = "0.2.117"
@@ -172,7 +172,7 @@ async def get_thread_history(
172
172
  """Get all past states for a thread."""
173
173
  thread_id = request.path_params["thread_id"]
174
174
  validate_uuid(thread_id, "Invalid thread ID: must be a UUID")
175
- limit_ = request.query_params.get("limit", 10)
175
+ limit_ = request.query_params.get("limit", 1)
176
176
  try:
177
177
  limit = int(limit_)
178
178
  except ValueError:
@@ -205,7 +205,7 @@ async def get_thread_history_post(
205
205
  for c in await Threads.State.list(
206
206
  conn,
207
207
  config=config,
208
- limit=int(payload.get("limit") or 10),
208
+ limit=int(payload.get("limit") or 1),
209
209
  before=payload.get("before"),
210
210
  metadata=payload.get("metadata"),
211
211
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langgraph-api
3
- Version: 0.2.115
3
+ Version: 0.2.117
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
@@ -1,4 +1,4 @@
1
- langgraph_api/__init__.py,sha256=ZpobLxBoHGHOwcb5e6212plzNjNcLHzJ11KMKWeWGw0,24
1
+ langgraph_api/__init__.py,sha256=Uguxufjk6upOoh9NMGA6lnBTXiNXYTIWiygKmtBCq6E,24
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=xQojITwmmKSJw48Lr2regcnRPRq2FJqWlPpeyr5TgbU,16158
@@ -35,7 +35,7 @@ langgraph_api/api/meta.py,sha256=fmc7btbtl5KVlU_vQ3Bj4J861IjlqmjBKNtnxSV-S-Q,419
35
35
  langgraph_api/api/openapi.py,sha256=KToI2glOEsvrhDpwdScdBnL9xoLOqkTxx5zKq2pMuKQ,11957
36
36
  langgraph_api/api/runs.py,sha256=iPzPen-_UMikGuRtg4xiageZC6eKwsmsMnqpnGdbucY,20962
37
37
  langgraph_api/api/store.py,sha256=TSeMiuMfrifmEnEbL0aObC2DPeseLlmZvAMaMzPgG3Y,5535
38
- langgraph_api/api/threads.py,sha256=haV1VkROLhWz4NZpO28ncFog-tbv7_iWqE1I8ZrQiDs,9726
38
+ langgraph_api/api/threads.py,sha256=Cpw1LIWRAF3YBq65OMVXNu9K86WCITaJ5fGWZlzmnUE,9724
39
39
  langgraph_api/api/ui.py,sha256=17QrRy2XVzP7x_0RdRw7pmSv-n1lmnb54byHCGGeNhM,2490
40
40
  langgraph_api/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
41
  langgraph_api/auth/custom.py,sha256=ZtNSQ4hIldbd2HvRsilwKzN_hjCWIiIOHClmYyPi8FM,22206
@@ -93,9 +93,9 @@ langgraph_runtime/retry.py,sha256=V0duD01fO7GUQ_btQkp1aoXcEOFhXooGVP6q4yMfuyY,11
93
93
  langgraph_runtime/store.py,sha256=7mowndlsIroGHv3NpTSOZDJR0lCuaYMBoTnTrewjslw,114
94
94
  LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
95
95
  logging.json,sha256=3RNjSADZmDq38eHePMm1CbP6qZ71AmpBtLwCmKU9Zgo,379
96
- openapi.json,sha256=jyQZW5U4V15zWciiIvaDPasYZd3k1iMiQ2vkPxf3zb4,145614
97
- langgraph_api-0.2.115.dist-info/METADATA,sha256=PPy83my0iVDl4TJbugjtUoBXcYW9yAG_cLXhCEhpPmE,3890
98
- langgraph_api-0.2.115.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
- langgraph_api-0.2.115.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
100
- langgraph_api-0.2.115.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
101
- langgraph_api-0.2.115.dist-info/RECORD,,
96
+ openapi.json,sha256=3xZmMHaCAH2hLqBkGa9zjg_umc8oNxhMZHjIDDG-CY4,145613
97
+ langgraph_api-0.2.117.dist-info/METADATA,sha256=ZIY5qydQGZWyXcBsGY_WA-DbmjvxURQ91P4LiJVXeJE,3890
98
+ langgraph_api-0.2.117.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
99
+ langgraph_api-0.2.117.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
100
+ langgraph_api-0.2.117.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
101
+ langgraph_api-0.2.117.dist-info/RECORD,,
openapi.json CHANGED
@@ -4583,7 +4583,7 @@
4583
4583
  "type": "integer",
4584
4584
  "title": "Limit",
4585
4585
  "description": "The maximum number of states to return.",
4586
- "default": 10,
4586
+ "default": 1,
4587
4587
  "maximum": 1000,
4588
4588
  "minimum": 1
4589
4589
  },