diff --git a/app/api/routers/chatbot.py b/app/api/routers/chatbot.py index 2a5ee8b..e4c2301 100644 --- a/app/api/routers/chatbot.py +++ b/app/api/routers/chatbot.py @@ -107,7 +107,6 @@ async def send_message( config = ConfigDict( run_id=run_id, - recursion_limit=32, configurable={"thread_id": thread_id}, ) diff --git a/app/api/schemas.py b/app/api/schemas.py index 7346e47..32ae8b8 100644 --- a/app/api/schemas.py +++ b/app/api/schemas.py @@ -5,7 +5,6 @@ class ConfigDict(TypedDict): run_id: str - recursion_limit: int configurable: dict[str, Any] diff --git a/tests/app/api/test_streaming.py b/tests/app/api/test_streaming.py index 63b30e1..2fc9046 100644 --- a/tests/app/api/test_streaming.py +++ b/tests/app/api/test_streaming.py @@ -326,7 +326,6 @@ def mock_model_uri(self) -> str: def mock_config(self, mock_thread_id: str) -> ConfigDict: return { "run_id": uuid.uuid4(), - "recursion_limit": 10, "configurable": {"thread_id": mock_thread_id}, }