Commit graph

7,663 commits

Author SHA1 Message Date
anovazzi1
07cbd593eb Add IOFileInput component to IOInputField 2024-01-26 15:31:21 -03:00
anovazzi1
870204eb40 Refactor IOInputField and IOView components 2024-01-26 15:12:02 -03:00
cristhianzl
6c36fcec18 fix(newChatView): remove unnecessary dependencies in useEffect hooks to improve performance and prevent unnecessary re-renders 2024-01-26 15:06:01 -03:00
anovazzi1
ff112cfd34 Add file input component to IOInputField and update IOView to use new input structure 2024-01-26 14:52:00 -03:00
anovazzi1
fbcd2ea4a4 Refactor IOInputField component to handle different input types 2024-01-26 14:32:48 -03:00
anovazzi1
4af5aa56c2 chore(IOInputField): rename onChange prop to updateValue for better semantics
chore(IOInputField): remove styleClasses and placeholder props as they are not used
chore(IOView): remove TODO comment for extending and improving view mode and adding other types of views
chore(IOView): remove unused onChange prop from IOInputProps type
2024-01-26 14:23:39 -03:00
igorrCarvalho
fc1614c7c1 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-01-26 10:56:04 -03:00
igorrCarvalho
61ecc66e1f Feat: Add support to another input types on IO 2024-01-26 10:55:54 -03:00
Gabriel Luiz Freitas Almeida
537747951a Fix return value for power components in Vertex class 2024-01-26 09:56:36 -03:00
Gabriel Luiz Freitas Almeida
8d55bd2505 Fix missing semicolon and remove unnecessary commas in newChatView and FlowStoreType 2024-01-26 09:46:03 -03:00
Gabriel Luiz Freitas Almeida
dbf0a2a920 Refactor code and fix minor issues 2024-01-26 09:45:33 -03:00
Gabriel Luiz Freitas Almeida
ea47b44ac7 Refactor model_dump method in ChatVertex 2024-01-26 09:44:40 -03:00
Gabriel Luiz Freitas Almeida
fccf3eeb25 Fix session loading issues in test cases 2024-01-25 19:44:33 -03:00
Gabriel Luiz Freitas Almeida
103df34d0e Fix test_custom_component.py to call the correct method 2024-01-25 19:44:23 -03:00
Gabriel Luiz Freitas Almeida
e8fded882e Add custom component and output parser creators to graph constants 2024-01-25 17:15:12 -03:00
Gabriel Luiz Freitas Almeida
abe4925cc3 Refactor imports and update function names 2024-01-25 16:17:40 -03:00
Gabriel Luiz Freitas Almeida
a41ada87ee Fix import and function name in test_loading.py 2024-01-25 16:17:20 -03:00
Gabriel Luiz Freitas Almeida
a76f90157e Refactor login tests and import statements 2024-01-25 16:17:13 -03:00
Gabriel Luiz Freitas Almeida
f527e0a3f1 Update import statement in test_process.py 2024-01-25 16:16:58 -03:00
Gabriel Luiz Freitas Almeida
033bd44412 Refactor imports in test_prompts_template.py 2024-01-25 16:16:40 -03:00
Gabriel Luiz Freitas Almeida
97fa69e535 Fix test_template.py: Update build_template_from_function and test_format_dict 2024-01-25 16:16:35 -03:00
Gabriel Luiz Freitas Almeida
8502898032 Refactor test_setup_superuser.py 2024-01-25 16:16:28 -03:00
Gabriel Luiz Freitas Almeida
b19b317e6b Refactor user tests and fix error handling 2024-01-25 16:16:15 -03:00
Gabriel Luiz Freitas Almeida
a0f7e63f77 Refactor code formatting in locustfile.py 2024-01-25 16:16:03 -03:00
Gabriel Luiz Freitas Almeida
517529ca40 Refactor imports and fix formatting in conftest.py 2024-01-25 16:15:54 -03:00
Gabriel Luiz Freitas Almeida
8a3aaa2c98 Refactor Vertex class initialization 2024-01-25 16:15:44 -03:00
Gabriel Luiz Freitas Almeida
4e5181307f Add logger import and update edge type in Graph class 2024-01-25 16:15:34 -03:00
Gabriel Luiz Freitas Almeida
952f8d39e5 Add extra base class and modify field formatting in ChainFrontendNode 2024-01-25 15:14:46 -03:00
Gabriel Luiz Freitas Almeida
dc56daebc8 Delete Flow model and related classes 2024-01-25 13:05:48 -03:00
Gabriel Luiz Freitas Almeida
a6a69a0f3a Fix import statements and formatting issues 2024-01-25 13:03:42 -03:00
Gabriel Luiz Freitas Almeida
47397153f4 Add new schemas and vertex type for CustomComponent 2024-01-25 13:03:29 -03:00
Gabriel Luiz Freitas Almeida
ec8679015b Fix issue with artifacts in PromptVertex 2024-01-25 12:46:44 -03:00
Gabriel Luiz Freitas Almeida
97eb790653 Refactor get_vertex_edges method to return a list of Union[Edge, ContractEdge] 2024-01-25 12:43:52 -03:00
igorrCarvalho
ec7a5725ff Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-01-25 12:08:30 -03:00
igorrCarvalho
53629398b4 Refactor: Change inputTypes and outputTypes to a only object array 2024-01-25 12:08:16 -03:00
Gabriel Luiz Freitas Almeida
7f0c4e8413 Refactor LLMChainComponent imports 2024-01-25 11:44:33 -03:00
Gabriel Luiz Freitas Almeida
367eadd6e2 Add model_config to SQLModelSerializable 2024-01-25 11:44:09 -03:00
Gabriel Luiz Freitas Almeida
0fa85687f1 Refactor layered_topological_sort method in Graph class 2024-01-25 11:43:27 -03:00
Gabriel Luiz Freitas Almeida
ad25be1815 Add logger import and update input_types in add_new_variables_to_template function 2024-01-25 11:43:14 -03:00
Gabriel Luiz Freitas Almeida
94aa8aff59 Refactor ChatService dependencies 2024-01-25 11:43:07 -03:00
Gabriel Luiz Freitas Almeida
db9665f01a Fix import and error handling in get_vertices function 2024-01-25 11:42:53 -03:00
anovazzi1
9cd43802cb Add buildFlow function to BuildTrigger component 2024-01-24 17:44:07 -03:00
anovazzi1
bb42c773f2 Fix formatting issues in GenericNode and useFlowStore 2024-01-24 17:34:18 -03:00
anovazzi1
5f0cd43ec5 Refactor buildVertices function to use flowId instead of flow object 2024-01-24 17:17:55 -03:00
Lucas Oliveira
7c28f0e7cb cannot find name div fixed 2024-01-24 19:23:32 +01:00
Lucas Oliveira
97950aab6e fixed pinned appearing without it being pinned, and added tooltip 2024-01-24 19:22:16 +01:00
anovazzi1
8f5cb0998d fix(chatComponent): rename checkInputAndOutput to hasIO for better semantics
fix(chatComponent): replace checkInputAndOutput with hasIO in relevant places
fix(flowStore): remove checkInputAndOutput function and replace it with hasIO property
fix(flowStore): update inputIds, outputIds, inputTypes, and outputTypes when resetting or setting nodes to reflect changes in inputs and outputs
fix(flowStore): update hasIO property based on the presence of inputs and outputs in nodes
fix(flowStore): remove getOutputs and getInputs functions and replace them with getInputsAndOutputs utility function
fix(flowStore): update inputIds, outputIds, inputTypes, and outputTypes when resetting or setting nodes to reflect changes in inputs and outputs
fix(flowStore): update hasIO property based on the presence of inputs and outputs in nodes
fix(flowStore): remove getOutputs and getInputs functions and replace them with getInputsAndOutputs utility function
fix(flowStore): remove unused imports in flowStore type definition file
2024-01-24 15:21:31 -03:00
anovazzi1
f9fa47b60f Merge branch 'dev' into zustand/io/migration 2024-01-24 15:01:57 -03:00
anovazzi1
7352ec9a16 Fix pinning issue and improve code structure 2024-01-24 15:00:49 -03:00
anovazzi1
44d15c5582 Refactor flowStore and add getInputs and getOutputs functions 2024-01-24 15:00:14 -03:00