Commit graph

113 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
63bf4cad0f Refactor settings page to streamline state updates and remove unused interfaces
This commit simplifies the state update logic in the KnowledgeSourcesPage component by replacing multiple conditional assignments with concise if statements. Additionally, it removes unused GoogleDriveFile and OneDriveFile interfaces, enhancing code clarity and maintainability in line with best practices for async development.
2025-09-08 18:06:18 -03:00
Sebastián Estévez
084502c0b6
Merge branch 'main' into ingestion-flow 2025-09-08 16:29:13 -04:00
Lucas Oliveira
d6bf6444e5 Merge remote-tracking branch 'origin/main' into feat/nudges 2025-09-08 16:25:59 -03:00
Edwin Jose
4f72b88fcc
Merge branch 'main' into ingestion-flow 2025-09-08 13:43:44 -04:00
Lucas Oliveira
33cd325fc9 Added deps to package.json 2025-09-08 12:36:04 -03:00
Gabriel Luiz Freitas Almeida
503fa92788
Merge branch 'main' into ingestion-flow 2025-09-08 12:19:52 -03:00
Edwin Jose
5172cf9069 eslint fix 2025-09-08 10:35:33 -04:00
Sebastián Estévez
2b662482a0
Merge branch 'main' into cz/fix-tool-call-tag 2025-09-05 23:57:54 -04:00
Mike Fortman
1d3c5459d2 ingesting polish 2025-09-05 16:12:48 -05:00
Lucas Oliveira
560683d782 Added animation to displaying nudges 2025-09-05 17:01:03 -03:00
Lucas Oliveira
01b10d403a Create cancelNudges, to remove the query result when sending a message 2025-09-05 17:00:52 -03:00
Lucas Oliveira
9e78798a04 added animate to package json 2025-09-05 17:00:29 -03:00
cristhianzl
f83851b259 (frontend): refactor message processing in ChatPage component to handle function calls from chunks or response_data
♻️ (agent.py): refactor async_response, async_langflow, async_chat, async_langflow_chat, and async_langflow_chat_stream functions to return full response object for function calls
🔧 (chat_service.py): update ChatService to include function call data in message_data if present
2025-09-05 16:53:02 -03:00
cristhianzl
7ff3bfd70b merge fix 2025-09-05 16:04:14 -03:00
Mike Fortman
efd9e3aad9 update be call 2025-09-05 12:16:43 -05:00
Lucas Oliveira
9251979207 Added padding top 2025-09-05 10:23:44 -03:00
Gabriel Luiz Freitas Almeida
63982ba711 Format 2025-09-05 10:22:55 -03:00
Lucas Oliveira
06b3850057 Componentize message send, and send message when clicking nudges 2025-09-05 10:20:17 -03:00
Lucas Oliveira
382df1064e Added nudges component 2025-09-05 10:19:59 -03:00
Gabriel Luiz Freitas Almeida
b4ca29677e Refactor settings fetching in KnowledgeSourcesPage for cleaner state updates
This commit simplifies the state update logic in the KnowledgeSourcesPage component by using conditional chaining to set various settings from the backend response. It removes the unnecessary settingsLoaded state, streamlining the code for better readability and maintainability while adhering to robust coding practices.
2025-09-05 10:03:07 -03:00
Mike Fortman
39e52273d7 Merge branch 'feat-googledrive-enhancements' of github.com:langflow-ai/openrag into feat-googledrive-enhancements 2025-09-04 21:37:58 -05:00
Mike Fortman
0ed98cb6e1 move to stand alone page 2025-09-04 21:37:30 -05:00
Gabriel Luiz Freitas Almeida
b493dab318 Enhance KnowledgeSourcesPage with ingestion settings and connector management
This commit refactors the KnowledgeSourcesPage component to include a new ingestion settings section, allowing users to configure document processing parameters such as chunk size and overlap. It also improves the connector management interface by integrating async fetching of connector statuses and enhancing error handling. The changes aim to provide a more robust and user-friendly experience while maintaining well-documented code practices.
2025-09-04 18:33:16 -03:00
Lucas Oliveira
047fb305c6 Add react query provider to app 2025-09-04 18:16:28 -03:00
Lucas Oliveira
70d3434e5b Create get query client to work on next 2025-09-04 18:16:16 -03:00
Lucas Oliveira
1197f51518 create useGetNudgesQuery to get nudges easily 2025-09-04 18:16:06 -03:00
Lucas Oliveira
33ba6abf49 Add react query 2025-09-04 18:15:54 -03:00
Gabriel Luiz Freitas Almeida
c4185bb33f Merge branch 'main' into ingestion-flow 2025-09-04 17:59:43 -03:00
Mike Fortman
4573b056f6 Merge branch 'main' of github.com:langflow-ai/openrag into feat-googledrive-enhancements 2025-09-04 15:54:38 -05: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
Eric Hare
e15321e9fc
try to get sync working 2025-09-04 10:14:57 -07:00
Mike Fortman
727bcea952 update favicon 2025-09-04 12:06:57 -05:00
Eric Hare
2dfc8faaac
Add Mike's UI enhancements for picker 2025-09-04 09:27:18 -07: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
Eric Hare
64edbd8eed
feat: Google Drive picker and enhancements 2025-09-03 14:11:32 -07:00
cristhianzl
aa630edbb0 merge fix 2025-09-03 10:46:20 -03:00
cristhianzl
9528e2f185 add chat history 2025-09-03 10:34:45 -03: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
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]
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
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
585d71515c hide discord / github for now 2025-08-28 23:57:05 -04:00
phact
859458efdf LANGFLOW_URL 2025-08-27 23:09:11 -04:00
phact
c4c15bfbb2 https frontend support 2025-08-22 15:32:44 -04:00