Commit graph

8,401 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
53ae82f0b9 Add VertexBuildTypeAPI import and refactor handleBuildUpdate function 2024-02-23 12:54:15 -03:00
Gabriel Luiz Freitas Almeida
70bd1d0c2a Refactor getDurationString function to use undefined instead of null 2024-02-23 12:53:45 -03:00
Gabriel Luiz Freitas Almeida
1565ad95a3 Add inactive_vertices and VertexDataTypeAPI to VertexBuildTypeAPI 2024-02-23 12:53:12 -03:00
Gabriel Luiz Freitas Almeida
10fa045063 Refactor getStatusClassName function to handle different build statuses 2024-02-23 12:27:53 -03:00
Gabriel Luiz Freitas Almeida
7fed13eb5a Added gray-status and buildstatus classes 2024-02-23 12:27:17 -03:00
Gabriel Luiz Freitas Almeida
f9aa62f183 Add INACTIVE build status to GenericNode 2024-02-23 10:12:21 -03:00
Gabriel Luiz Freitas Almeida
bd0e5694da Update base_type in RoutingVertex constructor 2024-02-23 10:10:19 -03:00
Gabriel Luiz Freitas Almeida
756a2ea81b Add ShouldRunNext component to langflow routing 2024-02-23 10:09:52 -03:00
Gabriel Luiz Freitas Almeida
3778301762 Refactor graph constants and update vertex types 2024-02-23 10:09:18 -03:00
Gabriel Luiz Freitas Almeida
ca749746ad Refactor vertex type lookup logic in Graph class 2024-02-23 10:08:34 -03:00
Gabriel Luiz Freitas Almeida
50917619f5 Move set cache to the end 2024-02-23 10:03:42 -03:00
Gabriel Luiz Freitas Almeida
afca7dc954 Refactor GoogleSerperAPIWrapperComponent class in GoogleSerperAPIWrapper.py 2024-02-22 23:51:38 -03:00
Gabriel Luiz Freitas Almeida
a4c432a64b Move call to reset InactiveNodes to the end of the function 2024-02-22 23:45:55 -03:00
Gabriel Luiz Freitas Almeida
2a7a5e728a Skip building inactive nodes in buildVertices function 2024-02-22 23:40:05 -03:00
Gabriel Luiz Freitas Almeida
bd2767b1a5 Add setInactiveNodes function to FlowStore 2024-02-22 23:39:13 -03:00
Gabriel Luiz Freitas Almeida
baf5ffb13c Add inactive_vertices attribute and related methods to Graph class 2024-02-22 23:38:19 -03:00
Gabriel Luiz Freitas Almeida
958dad8c8f Add support for inactive vertices in VertexBuildResponse 2024-02-22 23:37:56 -03:00
Gabriel Luiz Freitas Almeida
96f1cc1e59 Set result to None if condition fails 2024-02-22 23:37:19 -03:00
Gabriel Luiz Freitas Almeida
75ee16acb0 Refactor RoutingVertex to handle missing condition and result values 2024-02-22 23:36:02 -03:00
Gabriel Luiz Freitas Almeida
dcf71b7bdf Add VertexStates enum and set_state method 2024-02-22 23:35:34 -03:00
Gabriel Luiz Freitas Almeida
b26797c0fd Conditionally return inactive_vertices 2024-02-22 23:34:45 -03:00
igorrCarvalho
e662932156 Refactor: Remove persist from Chroma docstring 2024-02-22 22:17:47 -03:00
Gabriel Luiz Freitas Almeida
ac9849013d Add RunnableExecutor component 2024-02-22 18:04:55 -03:00
Gabriel Luiz Freitas Almeida
71de618519 Remove base class limitations 2024-02-22 17:24:59 -03:00
Gabriel Luiz Freitas Almeida
bb732f5264 Fix validation logic for emoji in attributes.py 2024-02-22 17:12:36 -03:00
Gabriel Luiz Freitas Almeida
9cfb03fbc9 Fix styleUtils import and remove unnecessary lines 2024-02-22 17:07:36 -03:00
Gabriel Luiz Freitas Almeida
3a07ad38b0 Add imports and fix duplicate key in dictionary 2024-02-22 17:06:06 -03:00
anovazzi1
e68fdc06c4 Update nodeIconsLucide in styleUtils.ts 2024-02-22 17:03:59 -03:00
anovazzi1
701571b858 Fix build button condition and prevent sending messages during build 2024-02-22 16:43:43 -03:00
Gabriel Luiz Freitas Almeida
63c709ee1d Add PythonFunctionComponent to langflow utilities 2024-02-22 16:38:01 -03:00
Gabriel Luiz Freitas Almeida
8f8b921ead Fix code field visibility in group node template 2024-02-22 16:27:57 -03:00
Gabriel Luiz Freitas Almeida
b1e7485ec6 Refactor parameterComponent to hide code based on name 2024-02-22 16:26:53 -03:00
Gabriel Luiz Freitas Almeida
e104d0381e Fix vertex reset issue when pinned 2024-02-22 16:17:24 -03:00
anovazzi1
9c125d1c22 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-02-22 15:49:35 -03:00
anovazzi1
165491e60b refactor(GenericNode/index.tsx): import Loading component for better code organization and readability
fix(GenericNode/index.tsx): update the button onClick logic to prevent building flow when the build status is already set to 'BUILDING'
2024-02-22 15:49:24 -03:00
Gabriel Luiz Freitas Almeida
c72ee729bf Add Code class to field_typing module 2024-02-22 15:44:26 -03:00
Gabriel Luiz Freitas Almeida
0d55e42ceb Remove Prompt class from types.py 2024-02-22 15:20:36 -03:00
Gabriel Luiz Freitas Almeida
7e6c77ee4f Refactor process_type function to handle lowercase field types 2024-02-22 15:20:27 -03:00
Gabriel Luiz Freitas Almeida
85a67488cc Remove google-cloud-aiplatform dependency 2024-02-22 14:59:56 -03:00
Gabriel Luiz Freitas Almeida
c335bf681a Fix import error in ChatVertexAIComponent 2024-02-22 14:57:03 -03:00
Gabriel Luiz Freitas Almeida
203d4f5616 Refactor component menu building logic 2024-02-22 14:56:33 -03:00
Cristhian Zanforlin Lousa
e2a79a57e1
Bugfix: saving all the time, scroll on chat IO / Feat: Changing building status on navigation bar (#1460)
* 🐛 fix(menuBar/index.tsx): add isBuilding state to handle display of build status
 feat(menuBar/index.tsx): add printByBuildStatus function to display appropriate build status based on isBuilding and saveLoading states
🐛 fix(api.tsx): set isBuilding state to false when encountering a 500 error response
🐛 fix(buildUtils.ts): set isBuilding state to true before building vertices and set it to false after build completion

* 🐛 fix(chatMessage): scroll to last chat message when rendering a new message to improve user experience
🔥 refactor(chatMessage): remove unused state and variables to improve code readability and maintainability
🔥 refactor(flowsManagerStore): remove redundant code and improve code readability

* Add logger and session imports, and update build_vertex function

* Fix conditional rendering bug in IOView component

* Remove unused imports from chat.py

* add last message to end

* 🔧 fix(chatMessage): add useEffect hook to scroll to last chat message after rendering
🔧 fix(chatMessage): add dependency array to useEffect hook to prevent unnecessary re-renders

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-02-22 14:44:35 -03:00
Gabriel Luiz Freitas Almeida
4c498a98aa Add Unique ID Generator component 2024-02-22 14:37:48 -03:00
Gabriel Luiz Freitas Almeida
468dec34f5 Update component parameter names and add missing descriptions 2024-02-22 14:37:43 -03:00
Gabriel Luiz Freitas Almeida
1ae08e286d Add support for storing messages using texts 2024-02-22 14:09:14 -03:00
Gabriel Luiz Freitas Almeida
6b286b02e5 Add I/O components documentation 2024-02-22 14:09:03 -03:00
igorrCarvalho
f57af2da52 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-02-22 12:57:37 -03:00
igorrCarvalho
4c3b54f5ef Refactor: Change chat input sender name default value and remove persist from Chroma 2024-02-22 12:57:06 -03:00
Gabriel Luiz Freitas Almeida
ef357198b9 Refactor import statements and update field info in MemoryFrontendNode class 2024-02-22 12:36:49 -03:00
Gabriel Luiz Freitas Almeida
16018c1d6f Add pinned state to CustomComponent and FrontendNode 2024-02-22 11:57:15 -03:00