Commit graph

5,701 commits

Author SHA1 Message Date
anovazzi1
b8fab10f0b Merge branch 'cz/bug/state/zustand' into zustand/io/migration 2024-01-18 17:55:17 -03:00
anovazzi1
65ec1ab3a5 Fix formatting issues in code 2024-01-18 16:48:13 -03:00
anovazzi1
5e5a64872c chore(flowsIOStore.ts): remove unused variables and functions for better code readability and maintainability
refactor(flowsIOStore.ts): remove unused variables and functions to improve code quality and reduce complexity
2024-01-18 16:38:46 -03:00
igorrCarvalho
30940cb853 Refactor: Make IOView component use zustand store 2024-01-18 14:57:17 -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
dxxky
fd8a82fc49
Update AzureChatOpenAI.py
Add API Supported versions - 2023-09-01-preview
2024-01-18 17:16:23 +08: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
igorrCarvalho
35bdfafa4f Refactor: Change context to zustand store 2024-01-17 19:59:22 -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
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
cristhianzl
dd95a0c699 chore(playwright-report): fix indentation and formatting in index.html file
style(App.css): add overflow: hidden to body and fix indentation and formatting
2024-01-17 19:26:50 +01:00
Gabriel Luiz Freitas Almeida
91d1b04d92 Add indexes to tables apikey, flow, and user 2024-01-17 07:36:05 -03:00
Gabriel Luiz Freitas Almeida
3eb14b53f1 Add indexes to tables apikey, flow, and user 2024-01-17 07:34:18 -03:00
Gabriel Luiz Freitas Almeida
fa55e98a0b Fix unique constraints and column nullability 2024-01-17 07:07:45 -03:00
Gabriel Luiz Freitas Almeida
8cb4fe9f5f Add primary key and unique constraints to user, apikey, and flow tables 2024-01-16 23:13:09 -03:00
Gabriel Luiz Freitas Almeida
6b5d51016a Fix LangflowApplication initialization 2024-01-15 23:29:57 -03:00
cristhianzl
4ebbafe493 fix(components): add data-testid to edit flow button for better testability and identification
fix(dragAndDrop.spec): update locator for edit flow button to use data-testid for better stability
fix(group.spec): update locator for edit flow button to use data-testid for better stability
fix(saveComponents.spec): update locator for edit flow button to use data-testid for better stability
2024-01-15 22:31:46 -03:00
Gabriel Luiz Freitas Almeida
79c20ec46b Update create_engine method to include max_overflow parameter 2024-01-15 19:24:56 -03:00
Gabriel Luiz Freitas Almeida
7fc32b342a Refactor imports and initialize services in __main__.py 2024-01-14 18:15:56 -03:00
Gabriel Luiz Freitas Almeida
e75f5f4745 Refactor run_on_mac_or_linux function and remove unused imports 2024-01-14 18:14:40 -03:00
Gabriel Luiz Freitas Almeida
71bb7c18e4 Refactor process_graph_cached function 2024-01-14 17:50:03 -03:00
Gabriel Luiz Freitas Almeida
73f87dd611 Fix memory inputs and update function arguments 2024-01-14 17:49:28 -03:00
Gabriel Luiz Freitas Almeida
54c40c670a Add support for running on Linux using gunicorn 2024-01-14 16:01:50 -03:00
Gabriel Luiz Freitas Almeida
be83ffb0e7 Add Optional parameter to load_session method 2024-01-14 15:21:59 -03:00
Gabriel Luiz Freitas Almeida
2a69254eda Add build_graph_and_generate_result function to process.py 2024-01-14 15:21:51 -03:00
Gabriel Luiz Freitas Almeida
0b68decdfc Add PreloadResponse schema 2024-01-14 15:21:46 -03:00
Gabriel Luiz Freitas Almeida
a562c1f98e Refactor API endpoints and add preload functionality 2024-01-14 15:21:43 -03:00
Gabriel Luiz Freitas Almeida
7b1f30ea80 Refactor LangflowApplication constructor 2024-01-14 15:21:39 -03:00
Gabriel Luiz Freitas Almeida
5c4b2a55de Update main.py with FastAPI configuration 2024-01-14 15:21:34 -03:00
Gabriel Luiz Freitas Almeida
88c75e29b2 Import multiprocessing and fix run_langflow function 2024-01-14 15:21:30 -03:00
cristhianzl
3b3bfc9b5a fixing scroll-overflow on react flow 2024-01-11 17:59:45 -03:00
cristhianzl
2986741e61 style(App.css): add overflow: hidden to body to prevent horizontal scrolling
style(App.css): remove unnecessary auto values for width, height, and border-radius in .react-flow__node class
2024-01-11 17:48:11 -03:00
Gabriel Luiz Freitas Almeida
13fdc62fde
Added OllamaEmbeddings component with documentation (#1309)
Ollama embeddings are useful to enhance langflow's support of Ollama,
allowing users to run LLMs such as Mistral and LLama locally. Langchain
documentation can be found via [this
link](https://python.langchain.com/docs/integrations/text_embedding/ollama).

Changes:

- New `OllamaEmbeddingsComponent` class
- Associated documentation in the `Embeddings` section
2024-01-11 12:04:46 -03:00
Gabriel Luiz Freitas Almeida
78c32b9b5a
Added AzureOpenAIEmbeddings component (#1293)
I have added AzureOpenAIEmbeddings component on Embeddings.
2024-01-11 12:04:18 -03:00