Commit graph

12,775 commits

Author SHA1 Message Date
ogabrielluiz
6ff8b01e9c (inputs/__init__.py): Add TextInput class to support text input type in langflow inputs
📝 (inputs/inputs.py): Add TextInput class with validation logic for different input types like Data, Message, and Text
📝 (schema/message.py): Add text_key attribute to Message class to specify the key for text data in the message object
2024-06-14 13:36:17 -03:00
cristhianzl
f1512ab015 merge fix 2024-06-14 13:27:05 -03:00
Cristhian Zanforlin Lousa
f520e0bf77
Fix error on React Flow with Auto Login = False (#2164)
This pull request addresses several improvements and fixes to enhance
the overall functionality and user experience. The key changes include:

- Improved Folders Behavior Context

- Enhanced Duplicate Request Blocker

- Bug Fix: Folders Compatibility with AutoLogin = False
2024-06-14 13:23:39 -03:00
cristhianzl
9000973db3 Merge branch 'dev' of https://github.com/langflow-ai/langflow into dev 2024-06-14 13:23:12 -03:00
cristhianzl
71e8aa00cf 🐛 (utils.ts): add optional chaining to base_classes to prevent runtime errors 2024-06-14 13:23:03 -03:00
Lucas Oliveira
58e0561d4a Merge remote-tracking branch 'origin/dev' into fix/dev_bugs 2024-06-14 13:22:14 -03:00
ogabrielluiz
2443069611 chore: Update mypy command prefix to use "poetry run" 2024-06-14 12:33:18 -03:00
cristhianzl
2f1a7081b9 fix merge on tests 2024-06-14 11:52:23 -03:00
cristhianzl
6f0ddc78c7 refactor: Update chatInputOutput.spec.ts to improve chat input/output interaction 2024-06-14 11:50:27 -03:00
cristhianzl
04f578f8be (floatComponent.spec.ts): update test values and remove redundant checks
 (inputListComponent.spec.ts): correct test IDs and update element counts
 (promptModalComponent.spec.ts): fix incorrect locator ID
 (textAreaModalComponent.spec.ts): fix incorrect locator ID
 (textInputOutput.spec.ts): update hover element locator for accuracy
2024-06-14 11:49:16 -03:00
Gabriel Luiz Freitas Almeida
a9cb7b0f5e
Update linting workflows for frontend and Python code (#2171)
* chore: Update pre-commit hooks and dependencies

* chore: Add linting workflow for frontend code

* chore: Update linting workflow for Python code and include tests in pull requests

* chore: Add Ruff style check workflow for Python code
2024-06-14 06:27:48 -07:00
cristhianzl
57a7b2baab ♻️ (use-delete-folder.tsx): remove unused refreshFolders variable to clean up code 2024-06-14 09:45:53 -03:00
cristhianzl
705311982c formatting files 2024-06-14 09:40:48 -03:00
cristhianzl
ec1a0fafe5 ♻️ (use-delete-folder.tsx): replace refreshFolders with getFoldersApi for better API call management 2024-06-14 09:34:59 -03:00
italojohnny
2d692a6701 Merge branch 'dev' into two_edges_dev 2024-06-14 09:31:14 -03:00
italojohnny
2b244b69e3 fix .json files after merge conflict 2024-06-14 09:30:38 -03:00
italojohnny
902e616286 Merge branch 'two_edges' into two_edges_dev 2024-06-14 09:29:50 -03:00
italojohnny
81be804eee fix .json files after merge conflict 2024-06-14 09:28:05 -03:00
ogabrielluiz
df634de53f chore: Improve error handling and logging in get_current_user_by_jwt function 2024-06-14 08:55:33 -03:00
ogabrielluiz
a7e83baa35 chore: Bump langchain and langchain-core versions to 0.2.4 and 0.2.6 respectively 2024-06-14 08:53:15 -03:00
ogabrielluiz
38c721f387 chore: Bump version of langflow and langflow-base packages 2024-06-14 08:39:42 -03:00
ogabrielluiz
3738a32b92 chore: Update Docker build workflow to include LANGFLOW_IMAGE build argument 2024-06-14 08:36:28 -03:00
Gabriel Luiz Freitas Almeida
5300b9cc08
Improve error handling and logging in get_current_user_by_jwt function (#2165)
chore: Improve error handling and logging in get_current_user_by_jwt function
2024-06-14 04:24:52 -07:00
ogabrielluiz
5f87e10127 🔧 (docker-build.yml): update setting output variables to use a file for better readability and maintainability 2024-06-14 08:19:38 -03:00
Rodrigo
750624f097 refactor: Update max_tokens default value in AnthropicLLM classes 2024-06-14 01:12:07 -03:00
Rodrigo
505ca31467 refactor: Update TextOperatorComponent to handle default outputs 2024-06-14 01:09:31 -03:00
ogabrielluiz
05ceb29dec chore: Update Docker build workflow to include base and component images 2024-06-13 18:48:43 -03:00
ogabrielluiz
c818c47594 chore: Update Docker build workflow to include base and component images 2024-06-13 18:47:37 -03:00
ogabrielluiz
d921865e45 chore: Update dependencies to latest versions 2024-06-13 18:33:48 -03:00
Lucas Oliveira
94d7f4a9cb Fixed table header displaying Title Case instead of normal 2024-06-13 18:22:16 -03:00
Lucas Oliveira
cf0e3eb4cd Fixed not being able to copy anywhere 2024-06-13 18:18:15 -03:00
Lucas Oliveira
229cfa123d Fixed error color and padding 2024-06-13 18:00:13 -03:00
Lucas Oliveira
82958878b8 Fixed grabbing to override children 2024-06-13 17:48:21 -03:00
cristhianzl
41fc846107 refactor: Update FoldersStoreType to use isLoadingFolders instead of loading 2024-06-13 17:46:14 -03:00
cristhianzl
33b3a9ee7e refactor: Update getFoldersApi to handle startup application and improve code readability 2024-06-13 17:46:06 -03:00
cristhianzl
9dd56b0412 refactor: Update MainPage component to remove unused code and improve folder deletion handling 2024-06-13 17:45:58 -03:00
cristhianzl
5462aeee3e refactor: Update useDeleteFolder hook to use refreshFolders instead of getFoldersApi 2024-06-13 17:45:50 -03:00
cristhianzl
6450b52c40 chore: Remove unused code in HeaderTabsSearchComponent 2024-06-13 17:45:41 -03:00
cristhianzl
a1cd3be237 feat: Add useFlowsManagerStore to LoginPage for managing loading state during login 2024-06-13 17:45:27 -03:00
cristhianzl
68201bb0d5 feat: Add setLoading to LoginAdminPage for displaying loading state during login 2024-06-13 17:45:16 -03:00
cristhianzl
e66286662e refactor: Improve duplicate request handling in checkDuplicateRequestAndStoreRequest function 2024-06-13 17:45:09 -03:00
cristhianzl
a49cd49eee refactor: Remove console.log statement in getMessagesTable function 2024-06-13 17:45:02 -03:00
cristhianzl
b9e1a3c0c5 fix: Handle duplicate requests in ApiInterceptor 2024-06-13 17:44:46 -03:00
ogabrielluiz
7d7e641260 refactor: Improve handling of template_dicts inputs in Vertex class 2024-06-13 17:44:41 -03:00
cristhianzl
4358ff5255 chore: Update authContext to useFolderStore for getting folders 2024-06-13 17:44:36 -03:00
cristhianzl
8980b66bec refactor: Update TableComponent to use optional chaining for hiding overlay 2024-06-13 17:44:28 -03:00
cristhianzl
9cd3bd751e chore: Update use-on-file-drop.tsx to use refreshFolders instead of getFoldersApi 2024-06-13 17:44:21 -03:00
cristhianzl
0bbecc9bab refactor: Refresh folders after adding a new folder in SideBarFoldersButtonsComponent 2024-06-13 17:44:12 -03:00
cristhianzl
75c13f4f20 chore: Refactor loadingFolders variable name in SidebarNav component 2024-06-13 17:44:06 -03:00
cristhianzl
bc50e010d4 feat: Add Case component to App for conditional rendering 2024-06-13 17:43:35 -03:00