Commit graph

11,729 commits

Author SHA1 Message Date
ogabrielluiz
fb1595e4b0 refactor: Update field_type in HandleInput to use SerializableFieldTypes enum 2024-06-14 16:29:16 -03:00
ogabrielluiz
969deae5e1 refactor: Update BaseInputMixin to validate input assignment 2024-06-14 16:15:33 -03:00
ogabrielluiz
f17c55727d refactor: Update field_type in HandleInput to use SerializableFieldTypes enum 2024-06-14 16:14:30 -03:00
ogabrielluiz
4e13c7352d refactor: Improve value validation in TextInput 2024-06-14 16:11:23 -03:00
ogabrielluiz
ce415fc346 feat: Add endpoint_name to export modal and handle export flows 2024-06-14 15:58:50 -03:00
ogabrielluiz
d11877aa99 refactor: Add Webhook Test flow fixture 2024-06-14 15:33:48 -03:00
ogabrielluiz
c97d90c4ad refactor: Update BaseInputMixin to validate input assignment 2024-06-14 15:32:55 -03:00
ogabrielluiz
4df46bf9de refactor: Add ListableInputMixin to HandleInput class 2024-06-14 15:06:29 -03:00
ogabrielluiz
6f7efd01f2 refactor: Improve handling of repr_value in CustomComponent 2024-06-14 15:05:19 -03:00
ogabrielluiz
46cd83ab46 refactor: Improve handling of repr_value in CustomComponent 2024-06-14 15:05:14 -03:00
ogabrielluiz
05c2a59928 refactor: Fix empty input value handling in TextComponent and WebhookComponent 2024-06-14 15:05:06 -03:00
ogabrielluiz
3c9948e2c3 Add logHasMessage and logTypeIsUnknown functions 2024-06-14 15:04:47 -03:00
ogabrielluiz
c73eb44842 Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges 2024-06-14 14:26:07 -03:00
ogabrielluiz
5471ab3671 feat: Add PyYAML wheel for manylinux_2_17_aarch64 platform 2024-06-14 14:23:38 -03:00
ogabrielluiz
6784332bb3 Merge remote-tracking branch 'origin/dev' into two_edges 2024-06-14 14:13:42 -03:00
ogabrielluiz
6f40941925 Merge remote-tracking branch 'origin/two_edges_dev' into two_edges 2024-06-14 14:09:12 -03:00
cristhianzl
26b7db4ec6 Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges 2024-06-14 14:05:33 -03:00
cristhianzl
3f8e6f0c46 refactor: Improve handling of template_dicts inputs in Vertex class 2024-06-14 14:05:22 -03:00
Ítalo Johnny
5353d2375a
Sentry integration (#2172)
* add sentry sdk to dependencies

* add sentry attributes to settings

* initialize sentry for error tracking

* add sentry sdk to base dependencies
2024-06-14 10:01:24 -07:00
ogabrielluiz
52e472798a chore: Update lint-action to v2 in lint-js.yml and lint-py.yml workflows 2024-06-14 13:53:27 -03:00
ogabrielluiz
0172a84d63 refactor: Rename TextInput to TextInputComponent for consistency 2024-06-14 13:51:04 -03:00
Gabriel Luiz Freitas Almeida
9daf66993f
Refactor CustomComponent repr_value handling (#2173)
* Refactor CustomComponent to handle repr_value more efficiently
2024-06-14 09:48:35 -07:00
cristhianzl
3ea0c7b03a ♻️ (tableComponent): disable row animations to improve performance
♻️ (flowLogsModal): use useMemo for TableComponent to optimize rendering
2024-06-14 13:40:35 -03:00
ogabrielluiz
2276d050fe 🔧 (component.py): Add input validation to Component
📝 (component.py): Update imports and type annotations for better readability and maintainability
🔧 (component.py): Refactor map_inputs method to accept InputTypes and validate inputs in Component class
♻️ (component.py): Refactor _validate_inputs method to check if input is a class method
🔧 (util.py): Add is_class_method function to check if a function is a class method
2024-06-14 13:36:17 -03:00
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
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