Changed the handling of original filenames in Langflow upload tasks to use a mapping from file paths to original filenames instead of a list. Updated both the API router and TaskService to support this change, improving reliability when associating uploaded files with their original names.
* feat: add status handling and visual indicators for file statuses
* refactor: comment out status field and related rendering logic in SearchPage
* format
* add timeout on mutation delete document
* make file fields be optional
* fetch task files and display them on knowledge page
* add tasks to files inside task context
* added failed to status badge
* added files on get all tasks on backend
* Changed models to get parameters by settings if not existent
* changed settings page to get models when is no ajth mode
* fixed openai allowing validation even when value is not present
* removed unused console log
---------
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
This commit enhances the TaskService class by reorganizing import statements, updating type hints to use `dict` instead of `Dict`, and improving the formatting of method definitions for better clarity. Additionally, minor adjustments were made to comments and error handling, contributing to a more robust and well-documented codebase.