langgraph-api 0.4.7__py3-none-any.whl → 0.4.9__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.4.7"
1
+ __version__ = "0.4.9"
@@ -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