Commit graph

8,373 commits

Author SHA1 Message Date
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
Lucas Oliveira
1e3cdd3f32 Made categories 2024-02-22 12:53:15 +01:00
Gabriel Luiz Freitas Almeida
73b23a2501 Add provider option for API key 2024-02-21 21:38:55 -03:00
Gabriel Luiz Freitas Almeida
0199767938 Refactor add_messages function to handle different types of records 2024-02-21 19:00:12 -03:00
Gabriel Luiz Freitas Almeida
de15017469 Refactor get_table_schema_as_dict function to remove index key 2024-02-21 18:57:51 -03:00
Gabriel Luiz Freitas Almeida
ff70ec0ff2 Add model validation for message in ChatOutputResponse to fix markdown 2024-02-21 18:57:39 -03:00
Lucas Oliveira
0ae6596dbd Fixed bug at frontend 2024-02-21 21:50:53 +01:00
Lucas Oliveira
4feec62cb5 fixed constants made just for testing 2024-02-21 21:45:57 +01:00
Gabriel Luiz Freitas Almeida
da6070ec9d Fix data assignment in Graph class 2024-02-21 17:40:26 -03:00
Gabriel Luiz Freitas Almeida
645792ab81 Remove duplicate return statement in MonitorService 2024-02-21 17:40:15 -03:00
Gabriel Luiz Freitas Almeida
aca19ef54f Refactor Vertex class to handle code parsing and string unescaping 2024-02-21 17:39:54 -03:00
Lucas Oliveira
33a82cad06 Changed open input link 2024-02-21 21:13:44 +01:00
Lucas Oliveira
f39cd72cc8 Changed icon to play 2024-02-21 21:12:28 +01:00
Lucas Oliveira
5b5813932d Removed repetition 2024-02-21 21:11:56 +01:00
Lucas Oliveira
5b000e6078 Changed view to not show chat 2024-02-21 21:10:00 +01:00
anovazzi1
c319e18e15 Refactor Page component 2024-02-21 16:57:40 -03:00
anovazzi1
9ffea8f988 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-02-21 16:55:55 -03:00
anovazzi1
00ca2023a1 Update chat trigger icon and add Sliders icon 2024-02-21 16:55:50 -03:00
Lucas Oliveira
f446ce5a0b Changed tabs layout to existing tabs 2024-02-21 20:49:22 +01:00
anovazzi1
4e8de33f75 Add stopBuild functionality to buildVertices function 2024-02-21 16:43:28 -03:00
anovazzi1
f58c2d4964 Refactor flowStore.ts: Comment out unused code and remove unnecessary variables 2024-02-21 16:28:30 -03:00