Commit graph

8,393 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
b17bbf064a Add next_vertex_to_build method to Graph class 2024-02-22 19:00:11 -03:00
Gabriel Luiz Freitas Almeida
528c75933f Update VertexBuildResponse schema field name 2024-02-22 18:59:48 -03:00
Gabriel Luiz Freitas Almeida
94c40aa91a implement routing and next_vertex_to_build 2024-02-22 18:58:27 -03:00
Gabriel Luiz Freitas Almeida
0003e4b7e9 Add routing component to vertex types 2024-02-22 18:46:21 -03:00
Gabriel Luiz Freitas Almeida
be7220b561 Add routing component to backend 2024-02-22 18:45:46 -03:00
Gabriel Luiz Freitas Almeida
1c237f2b6e Add ShouldRunNext component 2024-02-22 18:45:19 -03:00
Gabriel Luiz Freitas Almeida
9192d50e72 Remove unnecessary comments and improve result handling in ConversationChainComponent 2024-02-22 18:41:29 -03:00
Gabriel Luiz Freitas Almeida
176f6b1640 Refactor ConversationChainComponent class to handle different types of result objects 2024-02-22 18:41:18 -03:00
Gabriel Luiz Freitas Almeida
58769f587f Rename stop_vertex to component 2024-02-22 18:28:27 -03:00
Gabriel Luiz Freitas Almeida
e3c42d36ba Refactor RoutingVertex to handle successors based on boolean value 2024-02-22 18:26:55 -03:00
Gabriel Luiz Freitas Almeida
8a4e9a7226 Add successors_ids property to Vertex class 2024-02-22 18:26:32 -03:00
Gabriel Luiz Freitas Almeida
a48b497b28 Add vertices_layers attribute and stop_vertex attribute to Graph class 2024-02-22 18:26:09 -03:00
Gabriel Luiz Freitas Almeida
d79c8283a6 Add successors field to VertexBuildResponse 2024-02-22 18:25:38 -03:00
Gabriel Luiz Freitas Almeida
5e30aac399 Add successors to VertexBuildResponse and return only first layer 2024-02-22 18:25:13 -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
Gabriel Luiz Freitas Almeida
cb4fe92e9b Add attribute validation functions and mapping 2024-02-22 11:57:03 -03:00
Gabriel Luiz Freitas Almeida
4d07537031 Fix conditional rendering in IOView component 2024-02-22 11:56:02 -03:00
Gabriel Luiz Freitas Almeida
c70a227ee4 Refactor ConversationChainComponent build method 2024-02-22 10:40:46 -03:00
Gabriel Luiz Freitas Almeida
71c5d83647 Fix exception handling in build_vertex function 2024-02-22 10:40:39 -03:00
Lucas Oliveira
138aa1c5fe Removed prompt template from outputs 2024-02-22 13:08:52 +01:00
Lucas Oliveira
b0a2d625af Made chat button 2024-02-22 13:08:28 +01:00
Lucas Oliveira
cce060968f Fixed input and output view 2024-02-22 13:03:11 +01:00
Lucas Oliveira
a94b5b9657 Fixed chat button 2024-02-22 12:57:07 +01:00