langgraph-runtime-inmem 0.6.5__py3-none-any.whl → 0.6.6__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.
- langgraph_runtime_inmem/__init__.py +1 -1
- langgraph_runtime_inmem/database.py +2 -0
- langgraph_runtime_inmem/ops.py +1 -1
- {langgraph_runtime_inmem-0.6.5.dist-info → langgraph_runtime_inmem-0.6.6.dist-info}/METADATA +1 -1
- {langgraph_runtime_inmem-0.6.5.dist-info → langgraph_runtime_inmem-0.6.6.dist-info}/RECORD +6 -6
- {langgraph_runtime_inmem-0.6.5.dist-info → langgraph_runtime_inmem-0.6.6.dist-info}/WHEEL +0 -0
|
@@ -182,6 +182,8 @@ async def start_pool() -> None:
|
|
|
182
182
|
for a in GLOBAL_STORE["assistants"]:
|
|
183
183
|
if a["metadata"].get("created_by") == "system":
|
|
184
184
|
GLOBAL_STORE["assistants"].remove(a)
|
|
185
|
+
if "context" not in a:
|
|
186
|
+
a["context"] = {}
|
|
185
187
|
for k in ["crons"]:
|
|
186
188
|
if not GLOBAL_STORE.get(k):
|
|
187
189
|
GLOBAL_STORE[k] = {}
|
langgraph_runtime_inmem/ops.py
CHANGED
|
@@ -378,7 +378,7 @@ class Assistants(Authenticated):
|
|
|
378
378
|
"version": new_version,
|
|
379
379
|
"graph_id": graph_id if graph_id is not None else assistant["graph_id"],
|
|
380
380
|
"config": config if config is not None else assistant["config"],
|
|
381
|
-
"context": context if context is not None else assistant
|
|
381
|
+
"context": context if context is not None else assistant.get("context", {}),
|
|
382
382
|
"metadata": metadata if metadata is not None else assistant["metadata"],
|
|
383
383
|
"created_at": now,
|
|
384
384
|
"name": name if name is not None else assistant["name"],
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
langgraph_runtime_inmem/__init__.py,sha256=
|
|
1
|
+
langgraph_runtime_inmem/__init__.py,sha256=KDmH2YP4H44U-xjgCT_hgTMK9eR-VgmkmI6wGA-0k4g,310
|
|
2
2
|
langgraph_runtime_inmem/checkpoint.py,sha256=nc1G8DqVdIu-ibjKTqXfbPfMbAsKjPObKqegrSzo6Po,4432
|
|
3
|
-
langgraph_runtime_inmem/database.py,sha256=
|
|
3
|
+
langgraph_runtime_inmem/database.py,sha256=G_6L2khpRDSpS2Vs_SujzHayODcwG5V2IhFP7LLBXgw,6349
|
|
4
4
|
langgraph_runtime_inmem/inmem_stream.py,sha256=65z_2mBNJ0-yJsXWnlYwRc71039_y6Sa0MN8fL_U3Ko,4581
|
|
5
5
|
langgraph_runtime_inmem/lifespan.py,sha256=t0w2MX2dGxe8yNtSX97Z-d2pFpllSLS4s1rh2GJDw5M,3557
|
|
6
6
|
langgraph_runtime_inmem/metrics.py,sha256=HhO0RC2bMDTDyGBNvnd2ooLebLA8P1u5oq978Kp_nAA,392
|
|
7
|
-
langgraph_runtime_inmem/ops.py,sha256=
|
|
7
|
+
langgraph_runtime_inmem/ops.py,sha256=QHkoJiiKoKuMTNKlkpApxNsDhiR2CtlcQDR-zraTuew,89412
|
|
8
8
|
langgraph_runtime_inmem/queue.py,sha256=nqfgz7j_Jkh5Ek5-RsHB2Uvwbxguu9IUPkGXIxvFPns,10037
|
|
9
9
|
langgraph_runtime_inmem/retry.py,sha256=XmldOP4e_H5s264CagJRVnQMDFcEJR_dldVR1Hm5XvM,763
|
|
10
10
|
langgraph_runtime_inmem/store.py,sha256=rTfL1JJvd-j4xjTrL8qDcynaWF6gUJ9-GDVwH0NBD_I,3506
|
|
11
|
-
langgraph_runtime_inmem-0.6.
|
|
12
|
-
langgraph_runtime_inmem-0.6.
|
|
13
|
-
langgraph_runtime_inmem-0.6.
|
|
11
|
+
langgraph_runtime_inmem-0.6.6.dist-info/METADATA,sha256=hkFJC5S9J-g-c1eGRwLWUh1nsMCE4omusGOeMIKar8M,565
|
|
12
|
+
langgraph_runtime_inmem-0.6.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
13
|
+
langgraph_runtime_inmem-0.6.6.dist-info/RECORD,,
|
|
File without changes
|