diff --git a/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/endpoint.py b/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/endpoint.py index 89c6e06be..e2b5e355c 100644 --- a/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/endpoint.py +++ b/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/endpoint.py @@ -24,4 +24,14 @@ async def event_generator(): return StreamingResponse( event_generator(), media_type=encoder.get_content_type() - ) \ No newline at end of file + ) + + @app.get(f"{path}/health") + def health(): + """Health check.""" + return { + "status": "ok", + "agent": { + "name": agent.name, + } + } \ No newline at end of file diff --git a/typescript-sdk/integrations/langgraph/python/pyproject.toml b/typescript-sdk/integrations/langgraph/python/pyproject.toml index 9b7a8d93a..ccd20dc5c 100644 --- a/typescript-sdk/integrations/langgraph/python/pyproject.toml +++ b/typescript-sdk/integrations/langgraph/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ag-ui-langgraph" -version = "0.0.6" +version = "0.0.8" description = "Implementation of the AG-UI protocol for LangGraph." authors = ["Ran Shem Tov "] readme = "README.md"