Commit graph

11,676 commits

Author SHA1 Message Date
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
ogabrielluiz
7d7e641260 refactor: Improve handling of template_dicts inputs in Vertex class 2024-06-13 17:44:41 -03:00
Gabriel Luiz Freitas Almeida
5de41ecb3a
🐛 (service.py): Fix handling of postgres dialect in database URL to prevent NoSuchModuleError and provide a warning message for users to update the database URL. (#2161) 2024-06-13 13:36:48 -07:00
Rodrigo
32170a79ae refactor: Update TextOperatorComponent to handle default outputs
Update the TextOperatorComponent to handle default outputs when the true_output or false_output is not passed. If not provided, the default output will be the input text. This change improves the flexibility and usability of the component.
2024-06-13 17:07:41 -03:00
Lucas Oliveira
3dbc648f00 Changed Reload Components to Refresh All 2024-06-13 17:00:55 -03:00
Lucas Oliveira
f821036f3e Fixed hidden outputs dropdown maintaining state even if every output is shown 2024-06-13 17:00:55 -03:00
Rodrigo
c89f87baea refactor: Update langflow components and constants 2024-06-13 16:59:37 -03:00
ogabrielluiz
96511fef4a refactor: Improve handling of template_dicts inputs in Vertex class
Refactor the Vertex class to enhance the handling of template_dicts inputs. Instead of using list comprehensions, explicit loops are now used to append the required and optional inputs. This change improves the readability and maintainability of the code.
2024-06-13 16:51:27 -03:00
ogabrielluiz
ffae471c7b refactor: Add HandleInput to inputs module 2024-06-13 16:50:57 -03:00
ogabrielluiz
88f03f0408 refactor: Update Vertex class to improve handling of template_dicts inputs
Refactor the Vertex class to improve the handling of template_dicts inputs. Instead of using list comprehensions, the code now uses explicit loops to append the required and optional inputs. This change enhances the readability and maintainability of the code.
2024-06-13 16:30:38 -03:00
ogabrielluiz
b3266bab9c refactor: Fix issue with handling None values in ResultData class
Fix the issue where None values were not being handled correctly in the ResultData class. This ensures that the code properly handles cases where the message is None, preventing any potential errors or unexpected behavior.
2024-06-13 16:30:29 -03:00
ogabrielluiz
3862afc907 refactor: Sort fields alphabetically and prioritize fields with DIRECT_TYPES in Template class
Sort the fields alphabetically and prioritize fields with DIRECT_TYPES in the Template class. This improves the organization and readability of the code, ensuring that fields with specific types are listed first.
2024-06-13 16:29:00 -03:00
cristhianzl
7313e5807b ♻️ (foldersStore.tsx): remove redundant loadingById state and setLoadingById function
🐛 (foldersStore.tsx): fix fallback to getFoldersApi on getFolderById failure
2024-06-13 16:08:58 -03:00
italojohnny
f0630ec870 Merge branch 'dev' into two_edges_dev 2024-06-13 15:58:33 -03:00
cristhianzl
e81870fd73 merge fix 2024-06-13 15:23:15 -03:00
italojohnny
5f14aece1a bugfix 2024-06-13 12:36:18 -03:00
ogabrielluiz
a6c9fe8467 Update memory example params 2024-06-13 12:23:46 -03:00
ogabrielluiz
abb0f81843 chore: Remove pretty-quick from package.json and package-lock.json 2024-06-13 12:21:19 -03:00
ogabrielluiz
383ac6e1af Update memory example 2024-06-13 12:19:56 -03:00
ogabrielluiz
627c094907 chore: Remove simple-git-hooks from package.json 2024-06-13 12:19:39 -03:00
ogabrielluiz
90798a91ea Format code 2024-06-13 12:13:27 -03:00
ogabrielluiz
045cb38cd3 Update Memory Example 2024-06-13 12:12:24 -03:00
ogabrielluiz
6dbc2c76e4 Update projects 2024-06-13 12:05:45 -03:00
Gabriel Luiz Freitas Almeida
d2ae691356
chore: Update schema.py and service.py to handle file serialization and deserialization (#2159)
Refactor the MessageModel class in schema.py to include methods for validating and serializing the 'files' field. This ensures that the 'files' field can be properly handled when it is a string or a list.

In service.py, update the query in the MonitorService class to include the 'files' field when retrieving messages from the database. This ensures that the 'files' field is included in the query results.
2024-06-13 08:01:38 -07:00
anovazzi1
ea305b824c chore: Update displayOutputPreview logic in ParameterComponent 2024-06-13 12:01:02 -03:00
ogabrielluiz
8fef4b2d3a chore: Update langflow-base and langflow package versions to 0.0.66 and 1.0.0a55 respectively 2024-06-13 11:30:20 -03:00
Gabriel Luiz Freitas Almeida
18b95c5092
chore: Update duckdb dependency to version 1.0.0 and improve MonitorService code (#2158) 2024-06-13 07:27:15 -07:00
Rodrigo
2b1786f791 add "" to input mixin 2024-06-13 10:57:00 -03:00
anovazzi1
8a98f4c53d refactor: Update InputListComponent to fix button behavior
Fix the button behavior in the InputListComponent to correctly handle the index comparison. Previously, the button was only rendered for the first element in the list, but now it is rendered for the last element. This change ensures consistent rendering and improves the user experience when interacting with the component.
2024-06-13 10:53:22 -03:00
Gabriel Luiz Freitas Almeida
34b6153fed
chore: Update persist_directory parameter to handle None value in ChromaSearch and Chroma components (#2157)
* chore: Update persist_directory parameter to handle None value in ChromaSearch and Chroma components

* 🐛 (test_endpoints.py): fix assertion to check for correct key name in output results for chat and any input types
2024-06-13 06:52:32 -07:00
ogabrielluiz
6359fd938b update projects 2024-06-13 10:42:32 -03:00
ogabrielluiz
3f3125de30 refactor: Update OpenAIModelComponent to handle optional model name and temperature
Update the OpenAIModelComponent to handle an optional model name and temperature. This allows for more flexibility in configuring the component. The model name can now be set to None if not provided, and the temperature can be set to 0.1 if not specified. This improves the usability and customization options of the OpenAIModelComponent.
2024-06-13 10:42:27 -03:00
ogabrielluiz
909501e212 refactor: Update langflow components and constants
Update langflow components and constants to improve functionality, error handling, and user experience. This includes fixing rendering issues in dropdownComponent and improving value handling in tableNodeCellRender. The MonitorService now supports read-only mode in the exec_query method. The APIRequestComponent has been enhanced to parse curl commands and update the build configuration accordingly. The URLComponent now includes metadata in the returned data objects. Additionally, the SessionView and MessagesPage components have been updated to sort columns using the messagesSorter utility function, ensuring consistent column ordering. The unused Tabs component has been removed from FlowLogsModal. The CHAT_FIRST_INITIAL_TEXT and CHAT_SECOND_INITIAL_TEXT constants have been updated. Lastly, the error message in the Vertex class of base.py has been improved for building Components. These changes enhance the overall performance, functionality, and clarity of the codebase.
2024-06-13 10:40:39 -03:00
ogabrielluiz
18c4bebd57 refactor: Update MonitorService to support read-only mode in exec_query method 2024-06-13 10:39:51 -03:00
ogabrielluiz
4527bce31e refactor: Fix dropdownComponent rendering issue and improve tableNodeCellRender value handling 2024-06-13 09:58:48 -03:00
ogabrielluiz
d9eb22b3ab refactor: Remove cachetools import and cached decorator from types.py 2024-06-13 09:57:37 -03:00