From 36ac10d5f63d65da6dc18108904cfa5df8293a3a Mon Sep 17 00:00:00 2001 From: Luiza Date: Fri, 6 Feb 2026 10:54:32 -0800 Subject: [PATCH] [Bug]: execute_command_sync receives 300 (int) as context instead of timeout. #537 (#538) Happened when requested to include a file using the api. Tests Done: . Requested again to include the same file, and it did not throw any error. . After, I requested the include of lots of other files, and had no issue. Co-authored-by: Luiza Carneiro --- api/routers/sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/routers/sources.py b/api/routers/sources.py index e2cd62d..70a1914 100644 --- a/api/routers/sources.py +++ b/api/routers/sources.py @@ -461,7 +461,7 @@ async def create_source( "open_notebook", # app name "process_source", # command name command_input.model_dump(), - 300, # 5 minute timeout for sync processing + timeout=300, # 5 minute timeout for sync processing ) if not result.is_success():