From 86709db9849ba2fb7215fe5564b2aa7157f2b477 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 8 Sep 2025 22:02:12 -0300 Subject: [PATCH] Update file path key in tweaks dictionary for LangflowFileService to enhance clarity This commit modifies the key for file paths in the tweaks dictionary from "file_path" to "path" within the LangflowFileService class. This change improves code clarity and consistency, aligning with best practices for robust async development while maintaining existing functionality. --- src/services/langflow_file_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/langflow_file_service.py b/src/services/langflow_file_service.py index b2e91fe2..9d582989 100644 --- a/src/services/langflow_file_service.py +++ b/src/services/langflow_file_service.py @@ -82,7 +82,7 @@ class LangflowFileService: # Pass files via tweaks to File component (File-PSU37 from the flow) if file_paths: - tweaks["File-PSU37"] = {"file_path": file_paths} + tweaks["File-PSU37"] = {"path": file_paths} # Pass JWT token via tweaks using the x-langflow-global-var- pattern if jwt_token: