Commit graph

249 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
8f69eab5c9 Update Docker Compose files to include OPENSEARCH_PASSWORD in environment variables
This commit modifies both docker-compose.yml and docker-compose-cpu.yml to add OPENSEARCH_PASSWORD to the LANGFLOW_VARIABLES_TO_GET_FROM_ENVIRONMENT. Additionally, unnecessary whitespace has been removed for improved readability.
2025-09-04 08:59:54 -03:00
Gabriel Luiz Freitas Almeida
8354e24591 Add development Makefile with comprehensive commands 2025-09-04 08:59:34 -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
34a1a8d135 empty keys directory 2025-09-02 17:12:21 -04:00
phact
e810aef588 Merge branch 'main' of github.com:phact/gendb 2025-09-02 10:50:35 -04:00
phact
1b14d6c8e5 no auth mode 2025-09-02 10:50:20 -04:00
Sebastián Estévez
c2167ed579
Update build-multiarch.yml 2025-08-30 11:22:34 -04:00
Sebastián Estévez
851535aa0c
Update build-multiarch.yml 2025-08-30 10:57:58 -04:00
Sebastián Estévez
bc9746bf7d
Update build-multiarch.yml 2025-08-30 10:54:20 -04:00
Sebastián Estévez
85d527f757
Merge pull request #4 from langflow-ai/copilot/fix-bb2831f2-f336-43cc-9076-bf11e5cd5e1c
Fix TypeScript build errors in frontend navigation component
2025-08-30 09:54:42 -04:00
copilot-swe-agent[bot]
40840fc0b5 Fix TypeScript errors in frontend build
Co-authored-by: phact <1313220+phact@users.noreply.github.com>
2025-08-30 13:52:50 +00:00
copilot-swe-agent[bot]
434b2779e8 Initial plan 2025-08-30 13:47:45 +00:00
Sebastián Estévez
876c53e584
Merge pull request #2 from langflow-ai/copilot/fix-d8e1025c-8448-4a81-92b1-e3be20f19b18
Fix ESLint errors: remove unused variable and add missing dependencies
2025-08-30 09:47:10 -04:00
copilot-swe-agent[bot]
38691c030d Fix ESLint errors: remove unused variable and add missing dependencies
Co-authored-by: phact <1313220+phact@users.noreply.github.com>
2025-08-30 13:32:09 +00:00
copilot-swe-agent[bot]
bfba020aa8 Initial plan 2025-08-30 13:25:24 +00:00
Sebastián Estévez
05ea425754
Update build-multiarch.yml 2025-08-30 08:28:44 -04:00
phact
7b2c16ca21 sync all files checkbox 2025-08-29 17:09:54 -04:00
phact
168ebc7ae5 refresh on upload 2025-08-29 17:04:12 -04:00
phact
d58f721edc clean up chat history implementation 2025-08-29 17:00:38 -04:00
phact
de10c05eef fix: new chat history glitches 2025-08-29 16:50:20 -04:00
phact
0fb9246e88 connector jwt and connector cleanup fixes 2025-08-29 00:00:06 -04:00
phact
585d71515c hide discord / github for now 2025-08-28 23:57:05 -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
262646c0b0 flow 2025-08-27 16:21:20 -04:00
phact
adab4b6395 don't force amd image 2025-08-27 01:27:16 -04:00
phact
8f930aab6a os image in compose 2025-08-26 23:57:47 -04:00
phact
fd8ec3a04e arm wip 2025-08-26 23:50:47 -04:00
phact
c4c15bfbb2 https frontend support 2025-08-22 15:32:44 -04:00
phact
4ddac6b8f2 frontend ssl support 2025-08-22 15:25:42 -04:00
phact
6011b7fb2f worker logging and reliability 2025-08-22 12:40:55 -04:00
phact
629a98351b fix spacing bug 2025-08-22 12:40:15 -04:00
phact
1615433415 fix process folder bug 2025-08-22 11:25:59 -04:00
phact
60fa42f0a2 lint 2025-08-22 11:25:42 -04:00
phact
674fed412d misc ui improvements 2025-08-22 11:13:01 -04:00
phact
a8a3c7b4ab for now hide the fork button in langflow mode 2025-08-22 09:47:37 -04:00
phact
97afd8f481 lint 2025-08-22 03:22:00 -04:00
phact
e11d631702 fix fork bug 2025-08-22 03:11:16 -04:00
phact
be61909bed in memory chat history and WIP conversation forking 2025-08-22 03:04:46 -04:00