Commit graph

7,622 commits

Author SHA1 Message Date
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
Lucas Oliveira
16e959b639 Fixed not saving on drop 2024-01-24 18:57:47 +01:00
Lucas Oliveira
32d98c9b85 Fixed pinned attribute 2024-01-24 17:25:57 +01:00
Lucas Oliveira
020f43b9f6 Added pinned property on node 2024-01-24 17:25:04 +01:00
Lucas Oliveira
e54e17ae36 Added animation into config 2024-01-24 16:59:27 +01:00
igorrCarvalho
abe41b2aef Fix: Make chat trigger appear again and Change build position 2024-01-23 20:31:57 -03:00
igorrCarvalho
f075104f8a Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-01-23 18:45:11 -03:00
igorrCarvalho
e90fdd00e7 Refactor: Remove isBuilt from zustand store 2024-01-23 18:45:01 -03:00
anovazzi1
30ecc997c9 Refactor BuildTrigger component imports and remove unused code 2024-01-23 18:43:10 -03:00
anovazzi1
fccbbc8b1d Add last_tested_version field to FlowType 2024-01-23 18:42:35 -03:00
igorrCarvalho
45d7945cd3 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-01-23 18:34:08 -03:00
igorrCarvalho
2948bdd58c Refactor: Remove SSE from zustand store 2024-01-23 18:33:26 -03:00
anovazzi1
14be74049c refactor(chatComponent): remove unused import and variable
feat(chatComponent): add dynamic rendering of BuildTrigger component based on checkInputAndOutput value
fix(chatComponent): update showTrigger state when nodes change to reflect changes in checkInputAndOutput value
2024-01-23 18:11:28 -03:00
igorrCarvalho
8ac985e6e3 Feat: bring back io sidebar color 2024-01-23 18:02:09 -03:00
anovazzi1
a755c8f44d Refactor flowStore and flowIOStore 2024-01-23 17:57:27 -03:00
igorrCarvalho
2b62f903a3 Feat: bring back IO image and name on sidebar 2024-01-23 17:37:48 -03:00
anovazzi1
0a26bc52bf Refactor IOView component to use new state management 2024-01-23 16:24:06 -03:00
anovazzi1
7c6b220ecd Add pinned property to APIClassType 2024-01-23 16:10:34 -03:00
anovazzi1
fbc926a436 Add flowPool and buildFlow functionality 2024-01-23 16:07:18 -03:00
anovazzi1
67b70ab5ca Add buildFlow function to useFlowStore 2024-01-23 15:30:38 -03:00
anovazzi1
cb6636486c Add is_component property to FlowType 2024-01-23 15:09:22 -03:00
anovazzi1
8c35df3808 Refactor buildVertices function 2024-01-22 21:20:59 -03:00
anovazzi1
b5577d5dac Fix import statement in chat.py 2024-01-22 17:35:51 -03:00
anovazzi1
411060af93 Refactor buildVertices function to improve readability and error handling 2024-01-22 15:55:21 -03:00
anovazzi1
e6b8cf551b Add SQLModelSerializable class for SQLModel serialization 2024-01-22 15:54:52 -03:00
igorrCarvalho
06ed5e371c Refactor: Make changes in buildVertices Promises and build 2024-01-22 13:59:20 -03:00
anovazzi1
5ffb60e90f Fix code formatting and apply tweaks 2024-01-19 22:18:39 -03:00
anovazzi1
02526a4906 Add Text class to supported types 2024-01-19 22:17:40 -03:00
anovazzi1
7c34e687e5 Add Text class to field_typing module 2024-01-19 22:12:48 -03:00
anovazzi1
898dfab0ef Add new IO components for chat input, chat output, message history, and text input 2024-01-19 22:11:33 -03:00
anovazzi1
5a7e46ba12 Update schemas and chat.py files 2024-01-19 22:08:02 -03:00
anovazzi1
8ab47639bf Update type hints in ContractEdge class 2024-01-19 22:03:03 -03:00
anovazzi1
46ed96f20f Add import for MonitorService in deps.py 2024-01-19 21:59:47 -03:00
anovazzi1
8ded1ceb4b Add SettingsService class to manage settings from YAML file 2024-01-19 21:57:12 -03:00
anovazzi1
9933d1fec0 Add monitor service and related files 2024-01-19 21:54:21 -03:00
anovazzi1
11eb254622 Add ContractEdge class and related methods 2024-01-19 21:41:10 -03:00
anovazzi1
d2cce0590a Add UnbuiltResult class to utils.py 2024-01-19 21:40:02 -03:00
anovazzi1
cc62b225ca fix(vertex/base.py): fix import statement for UnbuiltResult class
feat(vertex/base.py): add PowerComponentTypes enum to represent power components
feat(vertex/base.py): add is_power_component attribute to Vertex class to determine if a vertex is a power component
feat(vertex/base.py): add get_result_dict method to Vertex class to return a dictionary with the result of the build process
feat(vertex/base.py): add get_built_result method to Vertex class to return the built result of a vertex
feat(vertex/base.py): add set_artifacts method to Vertex class
feat(vertex/base.py): add steps and steps_ran attributes to Vertex class to keep track of build steps
feat(vertex/base.py): add layer attribute to Vertex class to represent the layer of the vertex
feat(vertex/base.py): add set_top_level method to Vertex class to set the parent_is_top_level attribute
feat(vertex/base.py): add pinned attribute to Vertex class to indicate if the vertex is pinned
feat(vertex/base.py): add _reset method to Vertex class to reset the state of the vertex before building
feat(vertex/base.py): add build method to Vertex class to build the vertex and run build steps
feat(vertex/base.py): add get_requester_result method to Vertex class to get the result of the requester vertex
fix(vertex/base.py): fix add_edge method in Vertex class to check if the edge already exists before adding it
fix(vertex/base.py): fix __getstate__ method in Vertex class to include pinned attribute in the state
fix(vertex/base.py): fix _parse_data method in Vertex class to correctly set the pinned attribute
fix(vertex/base.py): fix _run method in Vertex class to handle different types of built objects and handle exceptions
2024-01-19 21:37:40 -03:00
anovazzi1
d3f728a436 Add StatefulVertex and StatelessVertex classes 2024-01-19 20:44:43 -03:00
anovazzi1
2213aa2e57 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-01-19 17:59:29 -03:00
anovazzi1
e7629226d3 Add process_tweaks_on_graph function to chat.py 2024-01-19 17:59:00 -03:00
anovazzi1
e327c381be Add function to apply tweaks on vertex 2024-01-19 17:58:35 -03:00