From 00ea6d73fe2de2b4674ae1ee320b70997803461d Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 1 Apr 2024 11:19:19 -0300 Subject: [PATCH] Add session_id to simplified_run_flow_with_caching endpoint --- src/backend/base/langflow/api/v1/endpoints.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/base/langflow/api/v1/endpoints.py b/src/backend/base/langflow/api/v1/endpoints.py index 50ab58ae9..5ec169bf3 100644 --- a/src/backend/base/langflow/api/v1/endpoints.py +++ b/src/backend/base/langflow/api/v1/endpoints.py @@ -99,6 +99,7 @@ async def simplified_run_flow_with_caching( This endpoint provides a powerful interface for executing flows with enhanced flexibility and efficiency, supporting a wide range of applications by allowing for dynamic input and output configuration along with performance optimizations through session management and caching. """ + session_id = input_request.session_id try: task_result: List[RunOutputs] = [] artifacts = {}