Commit graph

8,324 commits

Author SHA1 Message Date
anovazzi1
f58c2d4964 Refactor flowStore.ts: Comment out unused code and remove unnecessary variables 2024-02-21 16:28:30 -03:00
anovazzi1
6b1ab43de6 Update pin tooltip text 2024-02-21 16:07:52 -03:00
Gabriel Luiz Freitas Almeida
0820a46c54 Refactor PromptComponent to extract attributes from kwargs 2024-02-21 16:03:45 -03:00
Gabriel Luiz Freitas Almeida
7fcf3a4cc2 Refactor RecordsAsTextComponent to improve formatting and update status 2024-02-21 16:02:06 -03:00
Gabriel Luiz Freitas Almeida
05f1535668 Refactor edge class and add missing type annotations 2024-02-21 16:01:58 -03:00
Gabriel Luiz Freitas Almeida
ebe3068e2f add PROMPT_INPUT_TYPES 2024-02-21 16:01:43 -03:00
Gabriel Luiz Freitas Almeida
17ab6f4b31 Refactor MessageModel to include a classmethod for creating instances from a Record 2024-02-21 16:01:29 -03:00
Gabriel Luiz Freitas Almeida
09061a41b9 Refactor MonitorService class and add new method for adding messages 2024-02-21 16:01:23 -03:00
Gabriel Luiz Freitas Almeida
8bee638af2 Add Union type for monitor_data parameter in add_row_to_table function 2024-02-21 16:01:12 -03:00
Gabriel Luiz Freitas Almeida
4a15e07526 Add memory module for retrieving and adding messages to the monitor service 2024-02-21 16:01:03 -03:00
Gabriel Luiz Freitas Almeida
2033fd65ef Add StoreMessages component to store messages 2024-02-21 16:00:46 -03:00
Gabriel Luiz Freitas Almeida
65a88cbcbd Refactor MessageHistoryComponent to use get_messages function 2024-02-21 16:00:40 -03:00
Gabriel Luiz Freitas Almeida
e0e35b3245 Add session_id parameter to ChatInput class 2024-02-21 16:00:31 -03:00
Gabriel Luiz Freitas Almeida
ec9dd59b0b Refactor validate.py: Add PROMPT_INPUT_TYPES and rearrange imports 2024-02-21 16:00:23 -03:00
Gabriel Luiz Freitas Almeida
b7d175af2f Refactor get_messages and get_transactions in monitor.py 2024-02-21 16:00:13 -03:00
anovazzi1
e2ba143171 prevent save on buid using isBuilding 2024-02-21 14:47:45 -03:00
Gabriel Luiz Freitas Almeida
05916ab03c Refactor vertex sorting in Graph class to use avg_build_time 2024-02-21 12:11:29 -03:00
Gabriel Luiz Freitas Almeida
04b98ba36e Add build time tracking to Vertex class 2024-02-21 12:11:07 -03:00
Gabriel Luiz Freitas Almeida
0ff3e49eb6 Fix error handling in get_vertices and add build time to vertex 2024-02-21 12:10:57 -03:00
Gabriel Luiz Freitas Almeida
1b07ae35da Refactor graph sorting method in chat.py 2024-02-21 10:19:48 -03:00
Gabriel Luiz Freitas Almeida
f58245fab6 Add run and update count properties to Graph class 2024-02-21 10:19:44 -03:00
Gabriel Luiz Freitas Almeida
ccd2355ca1 Remove unused endpoints 2024-02-21 09:58:04 -03:00
Gabriel Luiz Freitas Almeida
d35a3d7b87 Add predecessors and successors properties to Vertex class 2024-02-21 09:57:49 -03:00
Gabriel Luiz Freitas Almeida
deb3ee8c74 Adds adjacency map and in degree map 2024-02-21 09:57:42 -03:00
Gabriel Luiz Freitas Almeida
85f905f0e4 Remove unnecessary code in ChatMessage component 2024-02-20 23:11:35 -03:00
Gabriel Luiz Freitas Almeida
9adb4b97d4 is_ai is set to true if sender is null 2024-02-20 23:11:18 -03:00
Gabriel Luiz Freitas Almeida
4ad215e4cd Update Markdown library import and variable usage 2024-02-20 22:53:30 -03:00
Gabriel Luiz Freitas Almeida
11970f9188 Remove console.log statements 2024-02-20 22:53:22 -03:00
Gabriel Luiz Freitas Almeida
c9e879f494 Update sender_type to sender in ChatInput class 2024-02-20 22:26:39 -03:00
Gabriel Luiz Freitas Almeida
e235bc4151 Update sender_type to sender in ChatOutput class 2024-02-20 22:26:15 -03:00
Gabriel Luiz Freitas Almeida
300d1aa050 Remove is_composition attribute from custom component 2024-02-20 21:52:46 -03:00
Gabriel Luiz Freitas Almeida
0aad733e39 Add is_composition to FrontendNode 2024-02-20 21:37:29 -03:00
Gabriel Luiz Freitas Almeida
17dee05b78 Refactor component attributes and add is_composition flag 2024-02-20 21:33:41 -03:00
Gabriel Luiz Freitas Almeida
9966b4a8dc Refactor buildUtils to use flat() instead of flatMap() 2024-02-20 20:58:53 -03:00
Gabriel Luiz Freitas Almeida
c7ae2a5eae Refactor variable name in buildUtils.ts 2024-02-20 20:57:12 -03:00
Gabriel Luiz Freitas Almeida
391ff85a59 Remove unnecessary comments in buildUtils.ts 2024-02-20 20:51:55 -03:00
Gabriel Luiz Freitas Almeida
a40dc03a93 Refactor buildVertices function to improve performance and update UI during vertex building 2024-02-20 20:51:39 -03:00
Gabriel Luiz Freitas Almeida
4cfb09a69a
Bugfix: add build status on backend shutdown (#1451)
This pull request introduces a new feature aimed at updating the build
flow status for each vertex when the backend is shut down. Additionally,
a minor refactor has been implemented in the interceptor to enhance code
readability.
2024-02-20 20:38:40 -03:00
cristhianzl
103ab84bc3 merge fix 2024-02-20 19:55:16 -03:00
cristhianzl
11092c5955 Merge branch 'cz/promise-each' of github.com:logspace-ai/langflow into cz/promise-each 2024-02-20 19:53:04 -03:00
cristhianzl
1a5a6ba35b 🐛 fix(api.tsx): import missing BuildStatus enum from constants/enums to fix compilation error
 feat(api.tsx): add support for renewing access token and handling authentication errors to improve user experience
 feat(api.tsx): add support for updating build status of vertices to keep track of build progress
🐛 fix(flowStore.ts): add missing updateVerticesBuild function to update the list of vertices being built
🐛 fix(flowStore.ts): initialize verticesBuild array to an empty array to avoid undefined errors
🐛 fix(flowStore.ts): fix typo in updateVerticesBuild function name
🐛 fix(flowStore.ts): fix typo in updateBuildStatus function parameter name
🐛 fix(flowStore.ts): fix typo in updateBuildStatus function parameter type
 feat(flowStore.ts): add verticesBuild property to store the list of vertices being built
🐛 fix(index.ts): fix typo in updateBuildStatus function parameter name
🐛 fix(index.ts): fix typo in updateBuildStatus function parameter type
 feat(index.ts): add updateVerticesBuild function to update the list of vertices being built
🐛 fix(buildUtils.ts): update build status and vertices build list when building vertices to keep track of build progress
2024-02-20 19:52:43 -03:00
Lucas Oliveira
ad6f362d8b Added "Saved" tooltip at header 2024-02-20 22:52:03 +01:00
Gabriel Luiz Freitas Almeida
0eaed5bbcb Update ResultDict to ResultData in build_vertex function 2024-02-20 16:59:26 -03:00
Gabriel Luiz Freitas Almeida
90cf166ef6 Refactor schema mismatch check and log vertex build 2024-02-20 16:59:21 -03:00
Gabriel Luiz Freitas Almeida
35a6b8956a Update ResultDict to ResultData in Vertex class 2024-02-20 16:59:08 -03:00
Gabriel Luiz Freitas Almeida
4c4414729d Update ResultDict class name to ResultData 2024-02-20 16:59:02 -03:00
Gabriel Luiz Freitas Almeida
4abff7f80c Refactor build_vertex function to include timing information 2024-02-20 16:58:56 -03:00
Gabriel Luiz Freitas Almeida
9211b1c8e5 Refactor Vertex params assignment 2024-02-20 16:22:15 -03:00
Gabriel Luiz Freitas Almeida
bf8330e152 Refactor Vertex params assignment 2024-02-20 16:18:02 -03:00
Gabriel Luiz Freitas Almeida
f70d3131a5 Refactor typing import in base.py 2024-02-20 16:06:16 -03:00