Commit graph

418 commits

Author SHA1 Message Date
Edwin Jose
890b2e526b updates to routers 2025-09-08 17:22:14 -04:00
Edwin Jose
1531c6a9f5 Merge branch 'ingestion-flow' into langflow-ingestion-modes 2025-09-08 16:51:29 -04:00
phact
f3616db4cd FLOW_ID 2025-09-08 16:33:06 -04:00
Sebastián Estévez
084502c0b6
Merge branch 'main' into ingestion-flow 2025-09-08 16:29:13 -04:00
phact
5a5541ce00 0.1.1 2025-09-08 16:22:29 -04:00
phact
3c6c8f999b compose versions env vars 2025-09-08 16:22:20 -04:00
phact
a4e271cb37 Merge branch 'main' of github.com:phact/gendb 2025-09-08 16:12:43 -04:00
Sebastián Estévez
3815332818
Merge pull request #25 from langflow-ai/feat-connection-cleanup
feat: Cleanup duplicate connections
2025-09-08 16:12:20 -04:00
phact
73f039afb5 logging 2025-09-08 16:07:06 -04:00
Eric Hare
617615532d
Update connection_manager.py 2025-09-08 13:00:00 -07:00
Eric Hare
cff28fc4f9
feat: Cleanup duplicate connections 2025-09-08 12:56:38 -07:00
Edwin Jose
72e87eb702 change the parameter! 2025-09-08 15:42:20 -04:00
Gabriel Luiz Freitas Almeida
6d0a94e4b4 Refactor connector service initialization to use LangflowConnectorService
This commit updates the service initialization in main.py to replace the existing ConnectorService with LangflowConnectorService. This change enhances the management of connector documents by leveraging the new service's capabilities, aligning with the ongoing improvements in asynchronous processing and code maintainability.
2025-09-08 16:42:07 -03:00
Gabriel Luiz Freitas Almeida
beee47068c Add LangflowConnectorService for managing connector documents
This commit introduces the LangflowConnectorService class, which facilitates the management and processing of connector documents using the Langflow service. It includes methods for initializing the service, retrieving connectors, processing documents, and syncing files. The implementation emphasizes asynchronous processing and robust error handling, enhancing the overall maintainability and documentation of the codebase.
2025-09-08 16:40:24 -03:00
Gabriel Luiz Freitas Almeida
542082e5bf Add LangflowConnectorFileProcessor for handling connector file uploads
This commit introduces the LangflowConnectorFileProcessor class, which processes connector file uploads using the Langflow service. It includes initialization parameters for user and connection details, and implements the process_item method to handle file processing asynchronously. Additionally, it cleans up the existing ConnectorFileProcessor by removing unused imports and streamlining file info retrieval. These changes enhance the code's robustness and maintainability in line with async development practices.
2025-09-08 16:40:06 -03:00
Gabriel Luiz Freitas Almeida
327b435814 fix imports in task_service 2025-09-08 16:39:41 -03:00
Sebastián Estévez
982726d904
Merge pull request #23 from langflow-ai/feat/nudges
feat: add nudges generation and display
2025-09-08 15:37:59 -04:00
Lucas Oliveira
192693d82d fixed agent.py extra comma 2025-09-08 16:36:03 -03:00
Lucas Oliveira
d6bf6444e5 Merge remote-tracking branch 'origin/main' into feat/nudges 2025-09-08 16:25:59 -03:00
Edwin Jose
1e97ec693a Merge branch 'ingestion-flow' into langflow-ingestion-modes 2025-09-08 14:44:33 -04:00
Edwin Jose
e8e9cce858 update to docker compose 2025-09-08 14:43:11 -04:00
Gabriel Luiz Freitas Almeida
1df2594698 Update ingestion flow JSON configuration
This commit modifies the ingestion flow JSON by updating the last_updated timestamp, removing the obsolete File Path input field, and adjusting the file_path array to be empty. Additionally, it corrects the height measurement of a UI component and changes the selected state of a node. These updates contribute to a cleaner and more efficient configuration, aligning with best practices for async code development.
2025-09-08 15:10:00 -03:00
Gabriel Luiz Freitas Almeida
b3dcac0cde Refactor environment configuration in EnvManager
This commit updates the EnvConfig class by renaming the flow ID variables to LANGFLOW_CHAT_FLOW_ID and LANGFLOW_INGEST_FLOW_ID for better clarity. It also modifies the environment variable writing logic to reflect these changes. Additionally, the import statements have been reorganized for improved readability. These updates contribute to a more robust and well-documented codebase.
2025-09-08 15:10:00 -03:00
Gabriel Luiz Freitas Almeida
e144f8f0ef update FLOW_ID variable 2025-09-08 15:10:00 -03:00
Eric Hare
b9da6437f8
Properly set the project root for the gdrive token 2025-09-08 11:08:45 -07:00
Edwin Jose
66d3205ff1
Merge branch 'ingestion-flow' into langflow-ingestion-modes 2025-09-08 13:52:21 -04:00
Edwin Jose
3cb379370e ingestion modes for the default files 2025-09-08 13:48:45 -04:00
Edwin Jose
4f72b88fcc
Merge branch 'main' into ingestion-flow 2025-09-08 13:43:44 -04:00
Edwin Jose
1096ef4cd0
Merge pull request #24 from langflow-ai/eslint-fix 2025-09-08 13:43:11 -04:00
Edwin Jose
64ea8b6567 Update task_service.py 2025-09-08 13:18:50 -04:00
Edwin Jose
87e31d98a4 Update task_service.py 2025-09-08 13:17:24 -04:00
Edwin Jose
975a4c214a Merge branch 'ingestion-flow' into langflow-ingestion-modes 2025-09-08 12:51:34 -04:00
Edwin Jose
9db16bc69c update to fix the env issue 2025-09-08 12:46:42 -04:00
Edwin Jose
dcd44017ce Update to langflow service to user logger correctly 2025-09-08 12:13:02 -04:00
Gabriel Luiz Freitas Almeida
d5166f4314 fix langflow file service change 2025-09-08 12:59:28 -03:00
Lucas Oliveira
33cd325fc9 Added deps to package.json 2025-09-08 12:36:04 -03:00
Gabriel Luiz Freitas Almeida
cb3ceceafe Fix import statement for logging configuration in warm_up_docling.py 2025-09-08 12:26:51 -03:00
Gabriel Luiz Freitas Almeida
503fa92788
Merge branch 'main' into ingestion-flow 2025-09-08 12:19:52 -03:00
Edwin Jose
5dd9959dd0
Merge branch 'ingestion-flow' into langflow-ingestion-modes 2025-09-08 10:38:31 -04:00
Edwin Jose
5172cf9069 eslint fix 2025-09-08 10:35:33 -04:00
phact
8dc77298be logging 2025-09-08 10:30:18 -04:00
Edwin Jose
8c142f89b7
Merge pull request #20 from langflow-ai/langflow-dockerfile 2025-09-08 10:09:02 -04:00
phact
9f7c506cce log error when INGEST_FLOW_ID is not configured 2025-09-08 09:58:28 -04:00
Gabriel Luiz Freitas Almeida
20a5648b3d Refactor ingestion flow configuration for OpenSearch hybrid component
This commit updates the ingestion flow JSON configuration to enhance the OpenSearch hybrid component. Key changes include renaming the component to OpenSearchHybrid, updating input fields for better clarity, and improving the handling of JWT authentication. Additionally, the commit introduces new parameters for search configuration, such as engine selection and filter expressions, while ensuring the overall structure adheres to robust async coding practices and well-documented code.
2025-09-08 09:14:03 -03:00
Gabriel Luiz Freitas Almeida
18e1874c88 Enhance logging and JWT token handling in LangflowFileService
This commit refactors the LangflowFileService to utilize a centralized logger instead of instance-specific logging. It also improves the handling of the JWT token in the run_ingestion_flow method, ensuring it is correctly passed to downstream services and logged appropriately. These changes enhance code readability and maintainability while adhering to robust async coding practices.
2025-09-08 08:44:05 -03:00
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
7b5589653a Add handling for Content-Type header in AppClients
This commit modifies the AppClients class to remove the Content-Type header if it is explicitly set to None, particularly for file uploads. This change enhances the robustness of the async code by ensuring proper header management during API requests, aligning with the project's focus on well-documented and maintainable code.
2025-09-08 08:43:32 -03:00
Gabriel Luiz Freitas Almeida
2543b2103b fix import statement 2025-09-08 08:42:46 -03:00
Edwin Jose
6c99c1b61d Implement unified upload and ingest endpoint in Langflow
This commit introduces a new combined endpoint for uploading files and running ingestion in Langflow. The frontend component is updated to utilize this endpoint, streamlining the process by eliminating separate upload and ingestion calls. The response structure is adjusted to include deletion status and other relevant information, enhancing error handling and logging practices throughout the codebase.
2025-09-08 02:03:02 -04:00
Edwin Jose
1c1bd8be59 Create Dockerfile.langflow 2025-09-07 19:20:33 -04:00