langgraph-api 0.1.17__py3-none-any.whl → 0.1.18__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 +1 -1
- langgraph_api/api/ui.py +2 -2
- langgraph_api/models/run.py +3 -3
- langgraph_api/thread_ttl.py +1 -1
- {langgraph_api-0.1.17.dist-info → langgraph_api-0.1.18.dist-info}/METADATA +7 -7
- {langgraph_api-0.1.17.dist-info → langgraph_api-0.1.18.dist-info}/RECORD +9 -9
- {langgraph_api-0.1.17.dist-info → langgraph_api-0.1.18.dist-info}/LICENSE +0 -0
- {langgraph_api-0.1.17.dist-info → langgraph_api-0.1.18.dist-info}/WHEEL +0 -0
- {langgraph_api-0.1.17.dist-info → langgraph_api-0.1.18.dist-info}/entry_points.txt +0 -0
langgraph_api/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.18"
|
langgraph_api/api/ui.py
CHANGED
|
@@ -60,8 +60,8 @@ async def handle_ui(request: ApiRequest) -> Response:
|
|
|
60
60
|
elif ext == ".js":
|
|
61
61
|
result.append(
|
|
62
62
|
f'<script src="//{host}/ui/{graph_id}/{basename}" '
|
|
63
|
-
f
|
|
64
|
-
|
|
63
|
+
f"onload='__LGUI_{graph_id}.render({json.dumps(message['name'])}, \"{{{{shadowRootId}}}}\")'>"
|
|
64
|
+
"</script>"
|
|
65
65
|
)
|
|
66
66
|
|
|
67
67
|
return Response(content="\n".join(result), headers={"Content-Type": "text/html"})
|
langgraph_api/models/run.py
CHANGED
|
@@ -181,9 +181,9 @@ def translate_pattern(pat: str) -> re.Pattern[str]:
|
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
@functools.lru_cache(maxsize=1)
|
|
184
|
-
def get_header_patterns() ->
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
def get_header_patterns() -> tuple[
|
|
185
|
+
list[re.Pattern[str] | None], list[re.Pattern[str] | None]
|
|
186
|
+
]:
|
|
187
187
|
from langgraph_api import config
|
|
188
188
|
|
|
189
189
|
if not config.HTTP_CONFIG:
|
langgraph_api/thread_ttl.py
CHANGED
|
@@ -21,7 +21,7 @@ async def thread_ttl_sweep_loop():
|
|
|
21
21
|
strategy = thread_ttl_config.get("strategy", "delete")
|
|
22
22
|
if strategy != "delete":
|
|
23
23
|
raise NotImplementedError(
|
|
24
|
-
f"Unrecognized thread deletion strategy: {strategy}.
|
|
24
|
+
f"Unrecognized thread deletion strategy: {strategy}. Expected 'delete'."
|
|
25
25
|
)
|
|
26
26
|
sweep_interval_minutes = thread_ttl_config.get("sweep_interval_minutes", 5)
|
|
27
27
|
await logger.ainfo(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: langgraph-api
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.18
|
|
4
4
|
Summary:
|
|
5
5
|
License: Elastic-2.0
|
|
6
6
|
Author: Nuno Campos
|
|
7
7
|
Author-email: nuno@langchain.dev
|
|
8
|
-
Requires-Python: >=3.11
|
|
8
|
+
Requires-Python: >=3.11
|
|
9
9
|
Classifier: License :: Other/Proprietary License
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -15,11 +15,11 @@ Requires-Dist: cloudpickle (>=3.0.0,<4.0.0)
|
|
|
15
15
|
Requires-Dist: cryptography (>=42.0.0,<45.0)
|
|
16
16
|
Requires-Dist: httpx (>=0.25.0)
|
|
17
17
|
Requires-Dist: jsonschema-rs (>=0.20.0,<0.30)
|
|
18
|
-
Requires-Dist: langchain-core (>=0.2.38)
|
|
19
|
-
Requires-Dist: langgraph (>=0.2.56)
|
|
20
|
-
Requires-Dist: langgraph-checkpoint (>=2.0.23)
|
|
21
|
-
Requires-Dist: langgraph-runtime-inmem (>=0.0.
|
|
22
|
-
Requires-Dist: langgraph-sdk (>=0.1.63,<0.2.0)
|
|
18
|
+
Requires-Dist: langchain-core (>=0.2.38) ; python_version < "4.0"
|
|
19
|
+
Requires-Dist: langgraph (>=0.2.56) ; python_version < "4.0"
|
|
20
|
+
Requires-Dist: langgraph-checkpoint (>=2.0.23) ; python_version < "4.0"
|
|
21
|
+
Requires-Dist: langgraph-runtime-inmem (>=0.0.7)
|
|
22
|
+
Requires-Dist: langgraph-sdk (>=0.1.63,<0.2.0) ; python_version < "4.0"
|
|
23
23
|
Requires-Dist: langsmith (>=0.1.63)
|
|
24
24
|
Requires-Dist: orjson (>=3.9.7)
|
|
25
25
|
Requires-Dist: pyjwt (>=2.9.0,<3.0.0)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
|
|
2
|
-
langgraph_api/__init__.py,sha256=
|
|
2
|
+
langgraph_api/__init__.py,sha256=6BiuMUkhwQp6bzUZSF8np8F1NwCltEtK0sPBF__tepU,23
|
|
3
3
|
langgraph_api/api/__init__.py,sha256=IKKMrC5gCHTzjprbg8jgZDrAJRuqJfSUgEkZAgh3l-M,5771
|
|
4
4
|
langgraph_api/api/assistants.py,sha256=6oYFRKlvqheJQGbWjFhQOUnnSbvsbrdMYLRJP7WtSRo,14481
|
|
5
5
|
langgraph_api/api/mcp.py,sha256=KbR19dtFCpJEiKYj3IfepAuJij8YZVELuVp7JY_yu_o,13754
|
|
@@ -8,7 +8,7 @@ langgraph_api/api/openapi.py,sha256=OGwzPpYO4e98iqtgL7UEfzI6jP4zXahJ1R-7VgOSZeg,
|
|
|
8
8
|
langgraph_api/api/runs.py,sha256=dhHZ3xu7V0anftqzXaOYnhVEryJpVeqzu60MFiUw4u8,18010
|
|
9
9
|
langgraph_api/api/store.py,sha256=G4Fm8hgFLlJUW5_ekLS_IOgCfpFy-TK9uq5r9QTOELQ,5447
|
|
10
10
|
langgraph_api/api/threads.py,sha256=ogMKmEoiycuaV3fa5kpupDohJ7fwUOfVczt6-WSK4FE,9322
|
|
11
|
-
langgraph_api/api/ui.py,sha256=
|
|
11
|
+
langgraph_api/api/ui.py,sha256=kmXA270SX9JkF8_qrx1G_b3grc_SL6jEuCYpH1ZLPXE,2201
|
|
12
12
|
langgraph_api/asyncio.py,sha256=h0eZ7aoDGnJpoxnHLZABVlj1jQ78UxjgiHntTmAEWek,8613
|
|
13
13
|
langgraph_api/auth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
langgraph_api/auth/custom.py,sha256=QR49PnIfPPQZ6ygWmnMkSuAzgOpBBUbbz5kJ2yVwGmQ,21934
|
|
@@ -80,7 +80,7 @@ langgraph_api/middleware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
80
80
|
langgraph_api/middleware/http_logger.py,sha256=aj4mdisRobFePkD3Iy6-w_Mujwx4TQRaEhPvSd6HgLk,3284
|
|
81
81
|
langgraph_api/middleware/private_network.py,sha256=eYgdyU8AzU2XJu362i1L8aSFoQRiV7_aLBPw7_EgeqI,2111
|
|
82
82
|
langgraph_api/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
83
|
-
langgraph_api/models/run.py,sha256=
|
|
83
|
+
langgraph_api/models/run.py,sha256=nriNLvY9ZBmSDYDPQs9W9vj6yYZjRZUl7TtSZ6DaGSs,12944
|
|
84
84
|
langgraph_api/patch.py,sha256=Dgs0PXHytekX4SUL6KsjjN0hHcOtGLvv1GRGbh6PswU,1408
|
|
85
85
|
langgraph_api/queue_entrypoint.py,sha256=gjtajZfnDXhsi7JElfmkY-p0ENBiKBDJ4Ugiw-exapw,1839
|
|
86
86
|
langgraph_api/route.py,sha256=fM4qYCGbmH0a3_cV8uKocb1sLklehxO6HhdRXqLK6OM,4421
|
|
@@ -90,7 +90,7 @@ langgraph_api/server.py,sha256=lCv_ZHLbMnhKRhdaSJi1edk-O9We-MnQafkGzdWlngw,6599
|
|
|
90
90
|
langgraph_api/sse.py,sha256=3jG_FZj8FI9r7xGWTqaAyDkmqf6P1NOu0EzGrcSOGYc,4033
|
|
91
91
|
langgraph_api/state.py,sha256=8jx4IoTCOjTJuwzuXJKKFwo1VseHjNnw_CCq4x1SW14,2284
|
|
92
92
|
langgraph_api/stream.py,sha256=a4sjBm3XhHK6NC4OD1dHey53t6czKodvrlxh9rfjfSA,11718
|
|
93
|
-
langgraph_api/thread_ttl.py,sha256
|
|
93
|
+
langgraph_api/thread_ttl.py,sha256=-Ox8NFHqUH3wGNdEKMIfAXUubY5WGifIgCaJ7npqLgw,1762
|
|
94
94
|
langgraph_api/tunneling/cloudflare.py,sha256=iKb6tj-VWPlDchHFjuQyep2Dpb-w2NGfJKt-WJG9LH0,3650
|
|
95
95
|
langgraph_api/utils.py,sha256=92mSti9GfGdMRRWyESKQW5yV-75Z9icGHnIrBYvdypU,3619
|
|
96
96
|
langgraph_api/validation.py,sha256=zMuKmwUEBjBgFMwAaeLZmatwGVijKv2sOYtYg7gfRtc,4950
|
|
@@ -101,8 +101,8 @@ langgraph_license/validation.py,sha256=ZKraAVJArAABKqrmHN-EN18ncoNUmRm500Yt1Sc7t
|
|
|
101
101
|
langgraph_runtime/__init__.py,sha256=O4GgSmu33c-Pr8Xzxj_brcK5vkm70iNTcyxEjICFZxA,1075
|
|
102
102
|
logging.json,sha256=3RNjSADZmDq38eHePMm1CbP6qZ71AmpBtLwCmKU9Zgo,379
|
|
103
103
|
openapi.json,sha256=cjlQFtrH7TwXQ9GNe1jy2iBRhae_F6inFZhsaCQidBc,132770
|
|
104
|
-
langgraph_api-0.1.
|
|
105
|
-
langgraph_api-0.1.
|
|
106
|
-
langgraph_api-0.1.
|
|
107
|
-
langgraph_api-0.1.
|
|
108
|
-
langgraph_api-0.1.
|
|
104
|
+
langgraph_api-0.1.18.dist-info/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
|
|
105
|
+
langgraph_api-0.1.18.dist-info/METADATA,sha256=cwXR7lMnah_lJRlXq3hMxHQquSCsia8P6eH07Y56AzA,4236
|
|
106
|
+
langgraph_api-0.1.18.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
107
|
+
langgraph_api-0.1.18.dist-info/entry_points.txt,sha256=3EYLgj89DfzqJHHYGxPH4A_fEtClvlRbWRUHaXO7hj4,77
|
|
108
|
+
langgraph_api-0.1.18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|