langgraph-api 0.4.7__py3-none-any.whl → 0.4.11__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/__init__.py +4 -0
- langgraph_api/api/a2a.py +1128 -0
- langgraph_api/api/assistants.py +8 -0
- langgraph_api/api/threads.py +47 -14
- langgraph_api/command.py +4 -2
- langgraph_api/graph.py +3 -3
- langgraph_api/js/remote.py +15 -11
- langgraph_api/models/run.py +2 -67
- langgraph_api/state.py +1 -1
- langgraph_api/thread_ttl.py +4 -1
- langgraph_api/utils/headers.py +68 -2
- {langgraph_api-0.4.7.dist-info → langgraph_api-0.4.11.dist-info}/METADATA +2 -2
- {langgraph_api-0.4.7.dist-info → langgraph_api-0.4.11.dist-info}/RECORD +18 -21
- openapi.json +219 -1
- langgraph_api/js/isolate-0x130008000-46649-46649-v8.log +0 -4430
- langgraph_api/js/isolate-0x138008000-44681-44681-v8.log +0 -4430
- langgraph_api/js/package-lock.json +0 -3308
- langgraph_api/utils.py +0 -0
- {langgraph_api-0.4.7.dist-info → langgraph_api-0.4.11.dist-info}/WHEEL +0 -0
- {langgraph_api-0.4.7.dist-info → langgraph_api-0.4.11.dist-info}/entry_points.txt +0 -0
- {langgraph_api-0.4.7.dist-info → langgraph_api-0.4.11.dist-info}/licenses/LICENSE +0 -0
langgraph_api/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.4.
|
|
1
|
+
__version__ = "0.4.11"
|
langgraph_api/api/__init__.py
CHANGED
|
@@ -10,6 +10,7 @@ from starlette.requests import Request
|
|
|
10
10
|
from starlette.responses import HTMLResponse, JSONResponse, Response
|
|
11
11
|
from starlette.routing import BaseRoute, Mount, Route
|
|
12
12
|
|
|
13
|
+
from langgraph_api.api.a2a import a2a_routes
|
|
13
14
|
from langgraph_api.api.assistants import assistants_routes
|
|
14
15
|
from langgraph_api.api.mcp import mcp_routes
|
|
15
16
|
from langgraph_api.api.meta import meta_info, meta_metrics
|
|
@@ -75,6 +76,8 @@ if HTTP_CONFIG:
|
|
|
75
76
|
protected_routes.extend(ui_routes)
|
|
76
77
|
if not HTTP_CONFIG.get("disable_mcp"):
|
|
77
78
|
protected_routes.extend(mcp_routes)
|
|
79
|
+
if not HTTP_CONFIG.get("disable_a2a"):
|
|
80
|
+
protected_routes.extend(a2a_routes)
|
|
78
81
|
else:
|
|
79
82
|
protected_routes.extend(assistants_routes)
|
|
80
83
|
protected_routes.extend(runs_routes)
|
|
@@ -82,6 +85,7 @@ else:
|
|
|
82
85
|
protected_routes.extend(store_routes)
|
|
83
86
|
protected_routes.extend(ui_routes)
|
|
84
87
|
protected_routes.extend(mcp_routes)
|
|
88
|
+
protected_routes.extend(a2a_routes)
|
|
85
89
|
|
|
86
90
|
routes: list[BaseRoute] = []
|
|
87
91
|
user_router = None
|