cristhianzl
33d05a23f3
Merge branch 'add_emoji_icon' into dev
2024-02-08 18:08:24 -03:00
cristhianzl
b9570b9c32
add emoji icon
2024-02-08 18:06:59 -03:00
Gabriel Luiz Freitas Almeida
f48b4468f6
Add icon property to APIClassType
2024-02-08 10:02:33 -03:00
Cristhian Zanforlin Lousa
034312d2a2
Refactor: make new flow create as "Untitled document" instead of random name ( #1408 )
2024-02-07 20:00:21 -03:00
igorrCarvalho
d0865a2580
Refactor: remove flow if there is no changes
2024-02-06 14:27:23 -03:00
Gabriel Luiz Freitas Almeida
392b81b519
Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"
...
This reverts commit f3b3d2cf68 .
2024-02-05 19:02:34 -03:00
Gabriel Luiz Freitas Almeida
7b5225f857
Merge branch 'main' into dev
2024-02-05 18:34:19 -03:00
anovazzi1
ee22000c52
Fix output type separator in GenericNode component
2024-02-05 18:33:11 -03:00
Gabriel Luiz Freitas Almeida
f3b3d2cf68
Revert "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"
2024-02-05 18:29:03 -03:00
anovazzi1
6fcc754704
Update Playwright configuration and fix Select component
2024-02-05 17:32:43 -03:00
anovazzi1
8023332260
add vectara icon ( #1389 )
...
* adding vectara icon
* Add field_typing imports and source parameter to VectaraComponent
* Refactor Vectara imports and update dependencies
* Refactor VectaraSelfQueryRetriverComponent class and update field_config
* Remove None values and update template strings
* Add get_output_types_from_code method to DirectoryReader
* Refactor directory_reader.py and handle exception when getting output types from code
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
2024-02-02 18:01:29 -03:00
Gabriel Luiz Freitas Almeida
c0c64c99c9
Update imports to use langchain_core.documents
2024-02-01 09:37:37 -03:00
Gabriel Luiz Freitas Almeida
7efa79af69
Fix formatting issues and update code style
2024-02-01 09:35:46 -03:00
Gabriel Luiz Freitas Almeida
e61e4ac51b
Update Langchain to 0.1 and migrate most components to CustomComponent ( #1382 )
...
This PR updates Langchain to 0.1.* and move components previously
created automatically to start using the CustomComponent framework.
This will improve maintainability and move Langflow to be closer to the
framework.
2024-01-31 17:43:18 -03:00
Gabriel Luiz Freitas Almeida
2076f32704
Merge branch 'dev' into update_lc
2024-01-31 15:57:16 -03:00
Lucas Oliveira
b49e0578d7
fix cursor position on safari
2024-01-31 11:54:08 +01:00
Lucas Oliveira
5984a45178
removed unused utils function
2024-01-31 11:37:11 +01:00
Lucas Oliveira
911257c92f
Fix console error on code component
2024-01-31 11:31:24 +01:00
Lucas Oliveira
abe597823b
Fixed undoing not fixing group edges
2024-01-31 11:23:16 +01:00
Lucas Oliveira
f93724eb44
Fixed takeSnapshot deleting history if snapshot was equal to the previous
2024-01-31 11:18:33 +01:00
Lucas Oliveira
7ba2610184
refactored number of handles
2024-01-31 11:10:42 +01:00
Lucas Oliveira
cc548ba604
removed unused createFlowComponent
2024-01-31 10:56:55 +01:00
Lucas Oliveira
30709221ef
removed direct attribution of official attribute
2024-01-31 10:54:47 +01:00
Lucas Oliveira
b3f5b25eba
Removed direct attribution on data on updateFlowPosition
2024-01-31 10:52:36 +01:00
anovazzi1
2aa273166d
Fix input fields behavior when node is not selected
2024-01-29 17:36:00 -03:00
Gabriel Luiz Freitas Almeida
87d2db11ac
Merge remote-tracking branch 'origin/dev' into update_lc
2024-01-24 19:22:22 -03:00
Lucas Oliveira
16e959b639
Fixed not saving on drop
2024-01-24 18:57:47 +01:00
anovazzi1
fd25788a9b
fix(codeTabsComponent): set readonly prop to true for CodeAreaComponent to prevent editing when node template field is dynamic
2024-01-18 18:50:57 -03:00
cristhianzl
0f0488e59a
fix(parameterComponent): update id and data-testid for textarea component to use the name of the parameter instead of index
...
fix(EditNodeModal): update id and data-testid for textarea component to use the name of the template parameter instead of index
fix(promptModalComponent.spec): update data-testid for textarea components to use the name of the prompt instead of index
fix(group.spec): update data-testid for textarea component to use a more descriptive name instead of index
fix(saveComponents.spec): update data-testid for textarea component to use a more descriptive name instead of index
2024-01-18 18:18:18 -03:00
anovazzi1
276329edf0
Add unselectAll function to CodeTabsComponent and FlowStore
2024-01-18 14:47:43 -03:00
anovazzi1
3b60133639
Fix readonly prop in CodeTabsComponent and update setNodeClass in GenericModal
2024-01-18 14:26:31 -03:00
anovazzi1
291e5f42c0
Update embeddings and conversation chains
2024-01-18 13:38:23 -03:00
anovazzi1
454e80f6d8
fix(GenericNode/index.tsx): import useUpdateNodeInternals from reactflow to fix missing dependency
...
feat(GenericNode/index.tsx): add useUpdateNodeInternals hook to update node internals when isMinimized changes
2024-01-18 13:37:42 -03:00
cristhianzl
06bc86142a
Merge branch 'dev' into cz/bug/state/zustand
2024-01-18 09:35:09 -03:00
Lucas Oliveira
6ab7bbf46c
Fixed chat button appearing even if build failed
2024-01-18 13:23:44 +01:00
cristhianzl
a6f25e97b8
fix(parameterComponent): add isMinimized prop to ParameterComponent to control the display of a component when minimized
...
feat(GenericNode): add isMinimized state to control the display of components when the node is minimized
fix(nodeToolbarComponent): set isMinimized state based on showNode prop to control the display of components when the node is minimized
2024-01-17 20:40:39 -03:00
anovazzi1
35a0a344dd
Fix drag and click behavior in nestedComponent.spec.ts
2024-01-17 19:01:32 -03:00
anovazzi1
84160ce86e
Fix formatting and remove unused code
2024-01-17 17:29:15 -03:00
anovazzi1
7b889fe651
Refactor sidebar draggable component
2024-01-17 17:27:05 -03:00
cristhianzl
e48c5d06c0
merge fix
2024-01-17 16:57:58 -03:00
cristhianzl
bd0d0cb1b2
fix(sideBarDraggableComponent): fix alignment and positioning of select trigger and select content
...
feat(sideBarDraggableComponent): add support for download option in select content
feat(sideBarDraggableComponent): add support for delete option in select content for non-official items
2024-01-17 16:57:02 -03:00
Lucas Oliveira
7ada6f20ac
Merge branch 'cz/bug/state/zustand' into update_lc
2024-01-17 19:44:30 +01:00
igorrCarvalho
a2096b8e0b
Fix: Add value prop initial value to prevent it from breaking when open edit node modal
2024-01-17 19:29:25 +01:00
igorrCarvalho
65d8b59885
Fix: Add select trigger to Saved components to make toolbar open again
2024-01-17 19:29:21 +01:00
igorrCarvalho
cb956e68d0
Fix: Transform empty object to array without opening 'editNode' modal to prevent flow build breakage.
2024-01-17 19:29:14 +01:00
igorrCarvalho
8d86d6208c
Fix: Input list doesnt show up when template value are empty
2024-01-17 19:28:50 +01:00
Lucas Oliveira
c3a0dfbd97
Fixed handles not showing when changing the output of the custom code
2024-01-17 19:27:58 +01:00
igorrCarvalho
41aec50819
Refactor: Change onConnection function to zustand store
2024-01-17 19:27:37 +01:00
anovazzi1
cbea369c2c
Update setFilterEdge references in code
2024-01-17 19:27:26 +01:00
anovazzi1
59de3fe50b
fix(App.tsx): increase the timer interval for fetching data to 20 seconds for better performance
...
feat(App.tsx): add cleanup function to clean up flow state when component unmounts
feat(PageComponent/index.tsx): add cleanFlow function to reset flow state when component unmounts
fix(PageComponent/index.tsx): fix bug where newEdges were not being set correctly in onConnect function
fix(PageComponent/index.tsx): remove unnecessary dependencies from onConnect function
fix(PageComponent/index.tsx): fix bug where setEdges was not returning the newEdges array correctly
feat(flowStore.ts): add cleanFlow function to reset flow state to initial values
feat(flowStore.ts): add cleanFlow function to reset flow state to initial values in flowStore type
2024-01-17 19:27:04 +01:00