Commit graph

34 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
deb39a6e5b Refactor user file upload and ingestion flow to streamline JWT token handling
This commit simplifies the handling of the JWT token in the upload_user_file and run_ingestion functions by removing unnecessary lines and ensuring the token is passed correctly to downstream services. This change enhances code readability and maintains the focus on robust async coding practices and well-documented code.
2025-09-08 08:43:53 -03:00
Gabriel Luiz Freitas Almeida
531ff8b6ac Merge branch 'main' into ingestion-flow 2025-09-05 10:26:38 -03:00
phact
d198ffa706 logging & format 2025-09-04 20:56:47 -04:00
Gabriel Luiz Freitas Almeida
69834ac4ac Refactor error logging in upload_user_file function
This commit replaces the print statement for error traceback with a structured logging approach using the logger. This change enhances error visibility and aligns with best practices for robust and well-documented async code.
2025-09-04 18:32:38 -03:00
Gabriel Luiz Freitas Almeida
9494e99808 Set tweaks to settings passed from the UI 2025-09-04 18:32:29 -03:00
Gabriel Luiz Freitas Almeida
2fbb8d8430 Implement async fetching of ingestion flow configuration
This commit adds functionality to retrieve and set ingestion-specific defaults from the Langflow API based on the flow configuration. It includes error handling for the API call and updates the settings with values for chunk size, chunk overlap, separator, and embedding model based on the flow data. This enhancement improves the flexibility and robustness of the ingestion process.
2025-09-04 18:31:38 -03:00
Gabriel Luiz Freitas Almeida
c4185bb33f Merge branch 'main' into ingestion-flow 2025-09-04 17:59:43 -03:00
phact
d5fd34edf7 fix no-auth owner 2025-09-04 15:36:22 -04:00
Gabriel Luiz Freitas Almeida
4bd2bd7765 Merge branch 'main' into ingestion-flow 2025-09-04 11:46:33 -03:00
Gabriel Luiz Freitas Almeida
83438a7c93 Refactor settings.py to enhance settings retrieval and improve flow ID handling
This commit updates the settings retrieval function to include new flow IDs for chat and ingestion, replacing the deprecated FLOW_ID. It also improves the logic for exposing edit URLs based on the availability of public URLs, contributing to a more robust and well-documented codebase.
2025-09-04 10:23:54 -03:00
Gabriel Luiz Freitas Almeida
c82c74d76c Enhance upload_user_file endpoint with improved logging and error handling
This commit adds detailed debug and error logging to the upload_user_file endpoint, facilitating better tracking of file upload processes and issues. It includes checks for the presence of a file and JWT token, and captures exceptions with traceback information for enhanced debugging. These changes contribute to a more robust and well-documented codebase.
2025-09-04 10:23:45 -03:00
phact
a52a842df9 centralized logging 2025-09-03 15:57:35 -04:00
phact
9074bda6ed ruff 2025-09-03 09:17:30 -04:00
Gabriel Luiz Freitas Almeida
50f1663374 Add API endpoints for file upload, ingestion, and deletion
This commit introduces three asynchronous API endpoints in langflow_files.py: upload_user_file, run_ingestion, and delete_user_files. Each endpoint handles file operations with appropriate error handling and returns JSON responses. The implementation ensures robust interaction with the LangflowFileService for managing user files.
2025-09-02 23:10:28 -03:00
phact
1b14d6c8e5 no auth mode 2025-09-02 10:50:20 -04:00
phact
0fb9246e88 connector jwt and connector cleanup fixes 2025-08-29 00:00:06 -04:00
phact
c97477a4ca settings for LANGFLOW_URL 2025-08-27 23:10:22 -04:00
phact
8f9afa0950 x-api-key fix 2025-08-27 23:09:48 -04:00
phact
be61909bed in memory chat history and WIP conversation forking 2025-08-22 03:04:46 -04:00
phact
ab9ffa25bc monitor service and kf subscription WIP 2025-08-22 01:09:18 -04:00
phact
a25ff0d51b add os fields for owner name and email 2025-08-21 02:32:14 -04:00
phact
6704ea89fc aws s3 upload v0 2025-08-18 23:46:32 -04:00
phact
c111295bac sharepont / opendrive 2025-08-18 16:49:25 -04:00
phact
91f0b608b5 frontend redesign 2025-08-14 15:06:38 -04:00
phact
346b938d98 refactor to openrag and knowledge filters 2025-08-13 16:31:35 -04:00
phact
2675c2ff72 contexts endpoints and chat support via context vars 2025-08-12 15:01:46 -04:00
phact
bf23ad8729 search improvements (facets, limit, score threshold) 2025-08-12 12:37:55 -04:00
phact
7ab8433aa8 changes to support jwt through langflow 2025-08-12 00:30:32 -04:00
phact
f8a583a982 context variable fix for agentd 2025-08-11 21:57:05 -04:00
phact
8def00d6d6 oidc / opensearch auth integration -- search endpoint 2025-08-11 16:45:54 -04:00
phact
6c2cc907dd webhooks work 2025-07-31 00:42:52 -04:00
phact
a282f2a9f8 cancel task endpoint 2025-07-30 22:42:01 -04:00
phact
c1eb61a973 tasks get their own module and list support 2025-07-30 15:56:36 -04:00
phact
c9182184cf refactor 2025-07-30 11:18:19 -04:00