langgraph-api 0.1.14__py3-none-any.whl → 0.1.15__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/assistants.py +5 -3
- {langgraph_api-0.1.14.dist-info → langgraph_api-0.1.15.dist-info}/METADATA +2 -2
- {langgraph_api-0.1.14.dist-info → langgraph_api-0.1.15.dist-info}/RECORD +7 -7
- {langgraph_api-0.1.14.dist-info → langgraph_api-0.1.15.dist-info}/LICENSE +0 -0
- {langgraph_api-0.1.14.dist-info → langgraph_api-0.1.15.dist-info}/WHEEL +0 -0
- {langgraph_api-0.1.14.dist-info → langgraph_api-0.1.15.dist-info}/entry_points.txt +0 -0
langgraph_api/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.1.
|
|
1
|
+
__version__ = "0.1.15"
|
langgraph_api/api/assistants.py
CHANGED
|
@@ -45,9 +45,12 @@ def _get_configurable_jsonschema(graph: Pregel) -> dict:
|
|
|
45
45
|
"""
|
|
46
46
|
# Otherwise, use the config_schema method.
|
|
47
47
|
config_schema = graph.config_schema()
|
|
48
|
+
model_fields = getattr(config_schema, "model_fields", None) or getattr(
|
|
49
|
+
config_schema, "__fields__", None
|
|
50
|
+
)
|
|
48
51
|
|
|
49
|
-
if "configurable" in
|
|
50
|
-
configurable = TypeAdapter(
|
|
52
|
+
if model_fields is not None and "configurable" in model_fields:
|
|
53
|
+
configurable = TypeAdapter(model_fields["configurable"].annotation)
|
|
51
54
|
json_schema = configurable.json_schema()
|
|
52
55
|
# The type name of the configurable type is not preserved.
|
|
53
56
|
# We'll add it back to the schema if we can.
|
|
@@ -55,7 +58,6 @@ def _get_configurable_jsonschema(graph: Pregel) -> dict:
|
|
|
55
58
|
if hasattr(graph.config_type, "__name__"):
|
|
56
59
|
json_schema["title"] = graph.config_type.__name__
|
|
57
60
|
return json_schema
|
|
58
|
-
|
|
59
61
|
# If the schema does not have a configurable field, return an empty schema.
|
|
60
62
|
return {}
|
|
61
63
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: langgraph-api
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.15
|
|
4
4
|
Summary:
|
|
5
5
|
License: Elastic-2.0
|
|
6
6
|
Author: Nuno Campos
|
|
@@ -18,7 +18,7 @@ Requires-Dist: jsonschema-rs (>=0.20.0,<0.30)
|
|
|
18
18
|
Requires-Dist: langchain-core (>=0.2.38,<0.4.0)
|
|
19
19
|
Requires-Dist: langgraph (>=0.2.56,<0.4.0)
|
|
20
20
|
Requires-Dist: langgraph-checkpoint (>=2.0.23,<3.0)
|
|
21
|
-
Requires-Dist: langgraph-runtime-inmem (>=0.0.
|
|
21
|
+
Requires-Dist: langgraph-runtime-inmem (>=0.0.6)
|
|
22
22
|
Requires-Dist: langgraph-sdk (>=0.1.63,<0.2.0)
|
|
23
23
|
Requires-Dist: langsmith (>=0.1.63,<0.4.0)
|
|
24
24
|
Requires-Dist: orjson (>=3.9.7)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
|
|
2
|
-
langgraph_api/__init__.py,sha256=
|
|
2
|
+
langgraph_api/__init__.py,sha256=qb0TalpSt1CbprnFyeLUKqgrqNtmnk9IoQQ7umAoXVY,23
|
|
3
3
|
langgraph_api/api/__init__.py,sha256=IKKMrC5gCHTzjprbg8jgZDrAJRuqJfSUgEkZAgh3l-M,5771
|
|
4
|
-
langgraph_api/api/assistants.py,sha256=
|
|
4
|
+
langgraph_api/api/assistants.py,sha256=6oYFRKlvqheJQGbWjFhQOUnnSbvsbrdMYLRJP7WtSRo,14481
|
|
5
5
|
langgraph_api/api/mcp.py,sha256=KbR19dtFCpJEiKYj3IfepAuJij8YZVELuVp7JY_yu_o,13754
|
|
6
6
|
langgraph_api/api/meta.py,sha256=sTgkhE-DaFWpERG6F7KelZfDsmJAiVc4j5dg50tDkSo,2950
|
|
7
7
|
langgraph_api/api/openapi.py,sha256=OGwzPpYO4e98iqtgL7UEfzI6jP4zXahJ1R-7VgOSZeg,11046
|
|
@@ -99,8 +99,8 @@ langgraph_license/validation.py,sha256=ZKraAVJArAABKqrmHN-EN18ncoNUmRm500Yt1Sc7t
|
|
|
99
99
|
langgraph_runtime/__init__.py,sha256=O4GgSmu33c-Pr8Xzxj_brcK5vkm70iNTcyxEjICFZxA,1075
|
|
100
100
|
logging.json,sha256=3RNjSADZmDq38eHePMm1CbP6qZ71AmpBtLwCmKU9Zgo,379
|
|
101
101
|
openapi.json,sha256=cjlQFtrH7TwXQ9GNe1jy2iBRhae_F6inFZhsaCQidBc,132770
|
|
102
|
-
langgraph_api-0.1.
|
|
103
|
-
langgraph_api-0.1.
|
|
104
|
-
langgraph_api-0.1.
|
|
105
|
-
langgraph_api-0.1.
|
|
106
|
-
langgraph_api-0.1.
|
|
102
|
+
langgraph_api-0.1.15.dist-info/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
|
|
103
|
+
langgraph_api-0.1.15.dist-info/METADATA,sha256=mEDzGC3joGCpnT3n5ovhzI-pMPm826SVPld3NHvFp8Y,4169
|
|
104
|
+
langgraph_api-0.1.15.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
105
|
+
langgraph_api-0.1.15.dist-info/entry_points.txt,sha256=3EYLgj89DfzqJHHYGxPH4A_fEtClvlRbWRUHaXO7hj4,77
|
|
106
|
+
langgraph_api-0.1.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|