Commit graph

12,187 commits

Author SHA1 Message Date
cristhianzl
fac5c75fe6 (tests): update locators in end-to-end tests for chat, dropdown, and file upload components
 (tests): update locators and tooltips in end-to-end tests for filterEdge
 (tests): add random name generation in store.spec.ts for unique flow names
 (tests): update locators in textInputOutput.spec.ts for consistency

 (twoEdges.spec.ts): update test to click correct icon-Eye element and remove redundant checks
2024-06-20 18:30:11 -03:00
Gabriel Luiz Freitas Almeida
f8ce1331b9 refactor: Remove unused text_response method from model components 2024-06-20 16:35:00 -03:00
Gabriel Luiz Freitas Almeida
29ba8051e9 format 2024-06-20 16:33:20 -03:00
Gabriel Luiz Freitas Almeida
d1d4b6f42d refactor: Implement _get_exception_message in LCModelComponent 2024-06-20 16:32:31 -03:00
cristhianzl
1297d3b892 💄 (sideBarFolderButtons): adjust spacing and icon button size for better UI consistency 2024-06-20 16:29:56 -03:00
Gabriel Luiz Freitas Almeida
f8ef220a6e refactor: Improve error handling in ComponentBuildException 2024-06-20 16:29:27 -03:00
Gabriel Luiz Freitas Almeida
bbd3ab4960 refactor: Update OllamaModel.py to include new features and improve build configuration 2024-06-20 16:01:32 -03:00
Gabriel Luiz Freitas Almeida
a33a56bf26 refactor: Import operator module instead of ast in base_component.py 2024-06-20 15:51:51 -03:00
Gabriel Luiz Freitas Almeida
8d4b9fd470 refactor: Update LCModelComponent to include text_response method and outputs for text and language model 2024-06-20 15:51:18 -03:00
Gabriel Luiz Freitas Almeida
0575541d3b refactor: Remove unused "str" input type from TextInput class 2024-06-20 15:51:06 -03:00
Gabriel Luiz Freitas Almeida
c25b104ec7 refactor: Import operator from ast module in base_component.py 2024-06-20 15:50:55 -03:00
Gabriel Luiz Freitas Almeida
ed391c010d refactor: Update code_parser.py to improve class node processing and base class handling 2024-06-20 15:50:19 -03:00
Gabriel Luiz Freitas Almeida
8f0ca52e9c refactor: Update auth utils to include token type in create_token function 2024-06-20 14:39:17 -03:00
ogabrielluiz
68e609fe34 Apply Prettier formatting 2024-06-20 16:42:14 +00:00
Gabriel Luiz Freitas Almeida
47c0522c7b Merge remote-tracking branch 'origin/dev' into two_edges 2024-06-20 13:41:00 -03:00
Gabriel Luiz Freitas Almeida
8ef4b090f4 🔧 (constants.py): Replace TypeAlias with TypeVar for LanguageModel in field_typing module
📝 (model.py): Import LanguageModel from field_typing module to use in LCModelComponent class
🔧 (utils.py): Replace get_all_types_from_type function with format_type function in custom module
🔧 (custom.py): Remove unused import get_args in format_type function in helpers module
2024-06-20 13:36:38 -03:00
Gabriel Luiz Freitas Almeida
8b2ea1b175 refactor: Add search_documents method to LCVectorStoreComponent for searching documents in the Chroma vector store 2024-06-20 12:25:17 -03:00
anovazzi1
d090a18004 Merge branch 'two_edges' of personal:langflow-ai/langflow into two_edges 2024-06-20 12:22:34 -03:00
anovazzi1
000d44ffe0 refactor: Remove unused code and comments in OutputComponent/index.tsx 2024-06-20 12:22:28 -03:00
Gabriel Luiz Freitas Almeida
80cf34ac98 refactor: Update utils.py and custom.py to improve type handling and code readability 2024-06-20 12:03:08 -03:00
Gabriel Luiz Freitas Almeida
0497c8a192 refactor: Update vector store retriever types to use 'Retriever' alias 2024-06-20 11:47:44 -03:00
Gabriel Luiz Freitas Almeida
09861ce504 refactor: Add 'Retriever' type alias to field_typing/constants.py 2024-06-20 11:46:27 -03:00
Gabriel Luiz Freitas Almeida
381a136abe refactor: remove type as this is a 3.12 feature 2024-06-20 11:27:37 -03:00
Gabriel Luiz Freitas Almeida
bf065bcca7 refactor: Add 'edited' attribute to FrontendNode class 2024-06-20 11:12:33 -03:00
Gabriel Luiz Freitas Almeida
e81b0378fe refactor: Add 'edited' attribute to NODE_FORMAT_ATTRIBUTES in constants.py 2024-06-20 11:11:03 -03:00
Gabriel Luiz Freitas Almeida
e7043443ce refactor: Migrate from BaseLanguageModel to field_typing.LanguageModel 2024-06-20 11:10:52 -03:00
Gabriel Luiz Freitas Almeida
0723ab0143 refactor: Update imports for SettingsService in endpoints.py, login.py, types.py, and monitor/service.py 2024-06-20 11:09:32 -03:00
Gabriel Luiz Freitas Almeida
ad89346cc0 refactor: Update Docker Build workflow to remove unnecessary steps and improve efficiency 2024-06-20 10:48:04 -03:00
Gabriel Luiz Freitas Almeida
058d00b4ca 📝 (main.py): Introduce asyncio tasks to asynchronously fetch and cache all types dictionary for improved performance and responsiveness
📝 (endpoints.py): Refactor code to use get_and_cache_all_types_dict function for better code organization and readability
📝 (setup.py): Refactor code to use get_all_components_coro parameter in create_or_update_starter_projects function for better flexibility and testability
📝 (types.py): Refactor code to introduce get_and_cache_all_types_dict function for improved separation of concerns and reusability
2024-06-20 10:46:00 -03:00
Gabriel Luiz Freitas Almeida
c0a8f24e1c refactor: Update OllamaModel to use consistent variable names and improve code readability 2024-06-20 10:17:08 -03:00
Gabriel Luiz Freitas Almeida
8c90d68a03 refactor: Update Data class to simplify attribute retrieval 2024-06-20 09:20:51 -03:00
Rodrigo
ae3170101b refactor: Update model variable names and improve code readability in AmazonBedrockModel, AnthropicModel, BaiduQianfanChatModel, and GroqModel 2024-06-19 21:37:04 -03:00
Gabriel Luiz Freitas Almeida
d8bd09661a ♻️ (flows.py): Add type ignore comments to suppress type checking errors for certain expressions. 2024-06-19 20:30:54 -03:00
Gabriel Luiz Freitas Almeida
951fb82c71 refactor: Update GroqModel to use consistent variable names and improve code readability 2024-06-19 20:30:35 -03:00
Gabriel Luiz Freitas Almeida
8defb43e1c refactor: Update FlowToolComponent to use plural variable names for flow_datas and flow_data in get_flow_names and get_flow methods 2024-06-19 20:30:29 -03:00
Gabriel Luiz Freitas Almeida
c0bc3bce63 refactor: Update SubFlowComponent to use plural variable names for flow_datas and flow_data in get_flow_names and get_flow methods 2024-06-19 20:27:40 -03:00
Gabriel Luiz Freitas Almeida
4c6bcafa43 📝 (OpenAIModel.py): Specify type annotations for output_schema_dict, model_name variables to improve code readability and maintainability. 2024-06-19 20:27:33 -03:00
Gabriel Luiz Freitas Almeida
d3731edb69 🐛 (Langflow Blog Writer.json): change return type of fetch_content method from Data to list[Data] to match the actual return value and improve code consistency. 2024-06-19 20:23:35 -03:00
Gabriel Luiz Freitas Almeida
23763f8795 (field_typing): introduce BaseChatModel to field_typing module for better organization and structure
📝 (constants): add BaseChatModel to LANGCHAIN_BASE_TYPES dictionary for consistency and completeness
2024-06-19 20:23:15 -03:00
Gabriel Luiz Freitas Almeida
f26dd89dfa 🔧 (FAISS.py): Remove unused import and methods, refactor class name to improve consistency and clarity 2024-06-19 20:23:01 -03:00
Gabriel Luiz Freitas Almeida
528845ad98 📝 (OllamaModel.py): rename 'stop' variable to 'stop_tokens' for clarity and consistency throughout the codebase 2024-06-19 20:22:33 -03:00
Gabriel Luiz Freitas Almeida
b8d70315f8 📝 (GoogleGenerativeAIModel.py): Fix type hinting issue for ChatGoogleGenerativeAI class to ignore type checking for this line 2024-06-19 20:17:39 -03:00
Gabriel Luiz Freitas Almeida
4a7aee44e0 refactor: Update ConditionalRouterComponent to return Message object instead of empty string 2024-06-19 20:16:48 -03:00
Gabriel Luiz Freitas Almeida
ae12c7a2d0 refactor: Update fetch_content return type to list[Data] 2024-06-19 20:16:42 -03:00
anovazzi1
bcafa2e5eb remove freeze from group 2024-06-19 20:03:21 -03:00
Gabriel Luiz Freitas Almeida
afd01e8c93 refactor: Update Prompt import in __init__.py 2024-06-19 20:02:17 -03:00
Gabriel Luiz Freitas Almeida
7809fba2aa refactor: Update CohereModel to import BaseChatModel from langchain_core 2024-06-19 20:02:10 -03:00
Gabriel Luiz Freitas Almeida
045c8123c9 refactor: Update GoogleGenerativeAIComponent to handle missing 'langchain_google_genai' package 2024-06-19 20:02:03 -03:00
Gabriel Luiz Freitas Almeida
776ff92f57 refactor: Import BaseChatModel in OllamaModel.py 2024-06-19 20:01:56 -03:00
Gabriel Luiz Freitas Almeida
9825f93fd2 refactor: Update ChromaVectorStoreComponent search_query handling 2024-06-19 20:01:49 -03:00