Commit graph

1949 commits

Author SHA1 Message Date
Edwin Jose
12f3265654 remove init_index in default file loading 2025-09-04 15:05:06 -04:00
Edwin Jose
08b2b6371c updated the default file loading task
support auth and non auth modes such that owner is None so these files will be considered as default files
2025-09-04 15:02:25 -04:00
cristhianzl
3b26a6b600 🔥 (navigation.tsx): remove unused code and streamline navigation component for better performance and readability 2025-09-04 15:56:22 -03:00
cristhianzl
6dcb65debd 📝 (frontend): Add new function 'refreshConversationsSilent' to update data without loading states
🚀 (frontend): Implement support for process.env.PORT to run app on a configurable port
🔧 (frontend): Change port variable case from lowercase 'port' to uppercase 'PORT' for better semantics
📝 (frontend): Add comments to clarify the purpose of loading conversation data only when user explicitly selects a conversation
📝 (frontend): Add comments to explain the logic for loading conversation data based on certain conditions
📝 (frontend): Add comments to describe the purpose of handling new conversation creation and resetting messages
📝 (frontend): Add comments to explain the logic for loading conversation data when conversationData changes
📝 (frontend): Add comments to clarify the purpose of loading conversations from the backend
📝 (frontend): Add comments to describe the logic for silent refresh to update data without loading states
📝 (frontend): Add comments to explain the purpose of starting a new conversation and creating a placeholder conversation
📝 (frontend): Add comments to clarify the logic for forking from a response and starting a new conversation
📝 (frontend): Add comments to describe the purpose of adding a conversation document and clearing conversation documents
📝 (frontend): Add comments to explain the logic for using a timeout to debounce multiple rapid refresh calls
📝 (frontend): Add comments to clarify the purpose of cleaning up timeout on unmount
📝 (frontend): Add comments to describe the logic for handling new conversation creation and resetting state
📝 (frontend): Add comments to explain the logic for forking from a response and starting a new conversation
📝 (frontend): Add comments to clarify the purpose of using useMemo for optimizing performance in ChatProvider
📝 (frontend): Add comments to describe the logic for using useMemo in the ChatProvider component
📝 (frontend): Add comments to explain the purpose of the useChat custom hook
📝 (frontend): Add comments to clarify the error message when useChat is not used within a ChatProvider
📝 (services): Update ChatService to fetch Langflow history with flow_id parameter for better control
2025-09-04 15:36:41 -03:00
Sebastián Estévez
e4e3535fe2
Merge branch 'main' into default-data 2025-09-04 13:55:51 -04:00
Sebastián Estévez
d5dda4ce2e
Merge pull request #14 from langflow-ai/tui
Tui improvements
2025-09-04 13:40:54 -04:00
phact
956d7582eb tui fixes 2025-09-04 13:40:22 -04:00
Edwin Jose
9f62d066ef Update main.py 2025-09-04 13:37:06 -04:00
Edwin Jose
2d0f53be30 delete make file 2025-09-04 13:36:31 -04:00
Eric Hare
e15321e9fc
try to get sync working 2025-09-04 10:14:57 -07:00
Mike Fortman
cf02238671
Merge pull request #12 from langflow-ai/iconfix
update favicon
2025-09-04 12:08:05 -05:00
Mike Fortman
727bcea952 update favicon 2025-09-04 12:06:57 -05:00
Mike Fortman
312975f776 Merge branch 'feat-googledrive-enhancements' of github.com:langflow-ai/openrag into feat-googledrive-enhancements 2025-09-04 12:06:14 -05:00
Mike Fortman
a808f0a3f5 fix google icon 2025-09-04 12:06:03 -05:00
Eric Hare
895ffc1a17
Update service.py 2025-09-04 10:03:26 -07:00
Eric Hare
3aad42390e
Get sync sort of working... 2025-09-04 10:02:07 -07:00
Eric Hare
da55c9e607
Update main.py 2025-09-04 09:41:56 -07:00
Eric Hare
15707a3228
Merge branch 'main' into feat-googledrive-enhancements 2025-09-04 09:39:23 -07:00
Eric Hare
2dfc8faaac
Add Mike's UI enhancements for picker 2025-09-04 09:27:18 -07:00
phact
214877e9ff btn fix 2025-09-04 12:02:35 -04:00
phact
5f84acb996 tui podman fixes, etc. 2025-09-04 11:45:39 -04:00
cristhianzl
0db67b8c6a merge fix 2025-09-04 11:50:18 -03:00
Gabriel Luiz Freitas Almeida
4bd2bd7765 Merge branch 'main' into ingestion-flow 2025-09-04 11:46:33 -03:00
Gabriel Luiz Freitas Almeida
e4603706fe Update Docker Compose files to replace FLOW_ID with LANGFLOW_CHAT_FLOW_ID
This commit modifies both docker-compose.yml and docker-compose-cpu.yml to update the environment variable from FLOW_ID to LANGFLOW_CHAT_FLOW_ID, ensuring consistency across configurations. These changes contribute to a more robust and well-documented codebase.
2025-09-04 10:27:08 -03:00
Gabriel Luiz Freitas Almeida
2bb74d89bb Implement file upload, ingestion, and deletion flow in KnowledgeDropdown component
This commit enhances the KnowledgeDropdown component by integrating a complete file handling process that includes uploading files to Langflow, running an ingestion flow, and deleting the uploaded files. It introduces error handling for each step and dispatches appropriate events to notify the UI of the upload and ingestion results. These changes improve the robustness and maintainability of the component, contributing to a well-documented codebase.
2025-09-04 10:26:27 -03:00
Gabriel Luiz Freitas Almeida
3118e54b69 Add ingest flow handling and UI updates in KnowledgeSourcesPage
This commit introduces state management for ingest flow IDs and corresponding edit URLs in the KnowledgeSourcesPage component. It enhances the user interface by adding a new section for file ingestion, allowing users to customize their file processing pipeline. The changes improve the overall functionality and maintainability of the settings page, contributing to a more robust and well-documented codebase.
2025-09-04 10:24:11 -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
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
phact
cad271350b langflow auth env vars in tui 2025-09-03 23:03:05 -04:00
phact
650d4c1e59 langflow env vars 2025-09-03 22:52:17 -04:00
phact
53b7fb27d2 images list 2025-09-03 22:29:00 -04:00
phact
6a642902d6 chown 2025-09-03 22:22:20 -04:00
phact
0f2502bed6 chown 2025-09-03 22:09:01 -04:00
phact
fabfc6f407 speed up ci 2025-09-03 21:59:28 -04:00
phact
26b353f034 fix: open search pw hash bug 2025-09-03 21:27:45 -04:00
Eric Hare
64edbd8eed
feat: Google Drive picker and enhancements 2025-09-03 14:11:32 -07:00
cristhianzl
a18e3d25dd merge fix 2025-09-03 17:44:18 -03:00
cristhianzl
0cd0297247 (agent.py): Add functionality to claim session ownership for Google users in async_langflow_chat and async_langflow_chat_stream functions
🔧 (chat_service.py): Refactor conversation deduplication logic and source statistics calculation for better performance and accuracy
🔧 (langflow_history_service.py): Implement session ownership filtering for Google users and enhance session ownership tracking functionality
🔧 (session_ownership_service.py): Create SessionOwnershipService to track session ownership for proper message history separation
2025-09-03 17:42:28 -03:00
phact
a52a842df9 centralized logging 2025-09-03 15:57:35 -04:00
phact
68fd7649e6 update yaml 2025-09-03 15:56:11 -04:00
phact
5e04580493 fix compose yaml 2025-09-03 15:54:17 -04:00
phact
25a45af581 tui v0 2025-09-03 15:31:14 -04:00
Edwin Jose
366ce594d2 adds support to load files in document folder at startup 2025-09-03 13:41:53 -04:00
phact
d070229566 remove langflow secret key because it's optional 2025-09-03 12:24:39 -04:00