From d6e20e6d093a4fe53cb04afa5af8a5b3d3b8ef31 Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Thu, 1 May 2025 22:36:58 -0700 Subject: [PATCH] Add missing 'running' RunStatus (#4508) --- libs/sdk-py/langgraph_sdk/schema.py | 3 ++- libs/sdk-py/pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/sdk-py/langgraph_sdk/schema.py b/libs/sdk-py/langgraph_sdk/schema.py index b6849e543..30d8cfff5 100644 --- a/libs/sdk-py/langgraph_sdk/schema.py +++ b/libs/sdk-py/langgraph_sdk/schema.py @@ -16,10 +16,11 @@ from typing import ( Json = Optional[dict[str, Any]] """Represents a JSON-like structure, which can be None or a dictionary with string keys and any values.""" -RunStatus = Literal["pending", "error", "success", "timeout", "interrupted"] +RunStatus = Literal["pending", "running", "error", "success", "timeout", "interrupted"] """ Represents the status of a run: - "pending": The run is waiting to start. +- "running": The run is currently executing. - "error": The run encountered an error and stopped. - "success": The run completed successfully. - "timeout": The run exceeded its time limit. diff --git a/libs/sdk-py/pyproject.toml b/libs/sdk-py/pyproject.toml index 7fde45fa4..3d23646b6 100644 --- a/libs/sdk-py/pyproject.toml +++ b/libs/sdk-py/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langgraph-sdk" -version = "0.1.66" +version = "0.1.67" description = "SDK for interacting with LangGraph API" authors = [] license = "MIT"