Commit graph

57 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
d77ebb5f37 update FLOW_ID to LANGFLOW_CHAT_FLOW_ID 2025-09-04 10:23:34 -03:00
Gabriel Luiz Freitas Almeida
e1d58c7421 Implement backwards compatibility for flow ID handling and enhance API key generation process
This commit introduces backwards compatibility for the flow ID by allowing the use of the deprecated FLOW_ID environment variable while issuing deprecation warnings. Additionally, the API key generation process has been improved with validation checks for cached keys and enhanced error handling. The Langflow client initialization has been updated to ensure proper handling of environment variables, contributing to a more robust and well-documented codebase.
2025-09-04 10:23:10 -03:00
Gabriel Luiz Freitas Almeida
45e9c60af1 Enhance LangflowFileService with API key management and v2 endpoint support
This commit refactors the LangflowFileService to include asynchronous API key retrieval and updates the file upload and deletion methods to use the new v2 endpoints. The flow ID constant has been renamed for clarity, and additional logging has been added for better debugging and error handling. The payload structure for the ingestion flow has also been modified to improve functionality and maintainability.
2025-09-04 10:21:35 -03:00
Gabriel Luiz Freitas Almeida
531ca7cd49 Refactor TaskService for improved readability and maintainability
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.
2025-09-04 08:44:00 -03:00
Gabriel Luiz Freitas Almeida
4be48270b7 Refactor main.py for improved organization and clarity
This commit reorganizes the import statements in main.py, enhancing the structure and readability of the code. It also includes minor formatting adjustments for consistency. The changes contribute to a cleaner codebase, facilitating easier maintenance and future development.
2025-09-03 10:36:54 -03:00
Gabriel Luiz Freitas Almeida
a10b35f631 Add LangflowFileService integration and new API endpoints in main.py
This commit integrates the LangflowFileService into main.py, enabling the management of user files through new asynchronous API endpoints for file upload, ingestion, and deletion. The changes enhance the application's functionality and maintainability by providing structured access to Langflow file operations, while ensuring proper authentication and session management for each endpoint.
2025-09-03 10:36:46 -03:00
Gabriel Luiz Freitas Almeida
31cab2e6d2 Reorganize import statements in settings.py for improved clarity
This commit refactors the import statements in settings.py, enhancing the organization and readability of the code. The changes include consolidating and reordering imports, which contributes to a cleaner and more maintainable codebase.
2025-09-02 23:19:15 -03:00
Gabriel Luiz Freitas Almeida
003cb1a443 Refactor imports and enhance service organization in main.py
This commit reorganizes the import statements in main.py for better clarity and structure. It consolidates API endpoint imports and service imports, ensuring a cleaner and more maintainable codebase. Additionally, it updates the print statement for connection loading to improve logging consistency.
2025-09-02 23:10:37 -03: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
Gabriel Luiz Freitas Almeida
f0744b153d Add LangflowFileService for file upload and ingestion flow
This commit introduces the LangflowFileService class, which provides methods for uploading user files, deleting user files, and triggering an ingestion flow using the Langflow Files API. The service is designed to handle asynchronous operations and includes error handling for API requests. Documentation for each method is included to ensure clarity on usage.
2025-09-02 23:10:20 -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
87d98f4154 don't use worker pool for file listing 2025-08-28 10:28:18 -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
859458efdf LANGFLOW_URL 2025-08-27 23:09:11 -04:00
phact
6011b7fb2f worker logging and reliability 2025-08-22 12:40:55 -04:00
phact
1615433415 fix process folder bug 2025-08-22 11:25:59 -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
d7614f6dfc move jwt key generation to startup 2025-08-19 12:18:41 -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
estevez.sebastian@gmail.com
02e39286fc move client / secret env vars to connector 2025-08-15 13:56:30 -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
ef00cc720b flow to support passing filters 2025-08-12 16:30:41 -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
10bb411e74 doc title fix 2025-08-01 11:31:49 -04:00
phact
3367a01419 server startup 2025-08-01 10:12:14 -04:00
phact
e0cf646ca4 fix potential deadlock 2025-07-31 13:41:22 -04:00
phact
8e947c3965 chunking token limit 2025-07-31 13:39:32 -04:00
phact
6c2cc907dd webhooks work 2025-07-31 00:42:52 -04:00
phact
a05c61d325 rm old app.py 2025-07-30 22:46:23 -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
5921586bcf tasks work post refactor 2025-07-30 15:49:58 -04:00
phact
c9182184cf refactor 2025-07-30 11:18:19 -04:00
phact
91f6f645f4 gdrive v0 2025-07-29 02:12:44 -04:00
phact
91061cbf24 suport include tool call results backend and frontend 2025-07-24 16:56:43 -04:00
phact
ea24c81eab multi worker uploads + docling gpu improvements 2025-07-24 01:51:45 -04:00
phact
ab61ba649a upload_context backend endpoint 2025-07-21 12:21:53 -04:00
phact
75fd0fae69 conversation history fix 2025-07-21 11:02:58 -04:00
phact
d0f19b7718 streaming and tool calling in ui 2025-07-18 14:10:11 -04:00
phact
3777e61496 new langflow endpoint 2025-07-16 03:54:46 -04:00