Commit graph

8,275 commits

Author SHA1 Message Date
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
Gabriel Luiz Freitas Almeida
c0ee093854 Refactor buildVertices function to extract buildVertex logic 2024-02-20 16:01:41 -03:00
Gabriel Luiz Freitas Almeida
a4c74f099c Fix session retrieval in build_vertex function 2024-02-20 16:01:23 -03:00
Gabriel Luiz Freitas Almeida
60c7ea3e35 Sort vertices containing interface components first 2024-02-20 16:01:17 -03:00
cristhianzl
b4dbe90212 🐛 fix(buildUtils.ts): refactor buildVertices function to improve readability and error handling
The buildVertices function has been refactored to improve readability and error handling. Instead of using Promise.all with map, it now uses a for loop to iterate over the vertices and perform the build process for each vertex. This change allows for better error handling and reporting. Additionally, the onBuildError callback is now called with the correct parameters when there is an error building a component.
2024-02-20 15:08:19 -03:00
Gabriel Luiz Freitas Almeida
cb284b4b7f Add status do IO components 2024-02-20 13:21:30 -03:00
Gabriel Luiz Freitas Almeida
7b9166b5ba Refactor chat service code 2024-02-20 13:19:42 -03:00
Gabriel Luiz Freitas Almeida
80815e0526 Refactor caching and result set up 2024-02-20 13:17:40 -03:00
Gabriel Luiz Freitas Almeida
aebab3f7e3 Add new build_and_cache_graph in utils.py 2024-02-20 13:17:04 -03:00
Gabriel Luiz Freitas Almeida
b90ff00cf4 Remove all websocket logic 2024-02-20 13:16:43 -03:00
Gabriel Luiz Freitas Almeida
5cef5b868a Refactor graph building and caching 2024-02-20 13:13:01 -03:00
Gabriel Luiz Freitas Almeida
aadb4c7d87 Add result attribute to Vertex class 2024-02-20 13:12:49 -03:00
Gabriel Luiz Freitas Almeida
0fb0b34423 Refactor process.py: Format code and add type hints 2024-02-20 13:12:42 -03:00
Gabriel Luiz Freitas Almeida
985cf9e532 Update set_cache method parameter name 2024-02-20 13:11:53 -03:00
Gabriel Luiz Freitas Almeida
54758662c2 Refactor Vertex class and update params dictionary 2024-02-20 12:17:48 -03:00
Gabriel Luiz Freitas Almeida
fdfbe810c9 Refactor Graph update method to handle new and removed vertices 2024-02-20 12:17:41 -03:00
Gabriel Luiz Freitas Almeida
790a9bc112 Fix build status typo and update build status in flowStore 2024-02-20 12:17:25 -03:00
Gabriel Luiz Freitas Almeida
98ae37f24e
Implement "In Progress" Status for Component Building (#1449)
This pull request introduces a new "In Progress" status for the
component building process within our application. This status will
bridge the gap between "Not Started" and "Completed," providing more
granular visibility into the component's lifecycle.
2024-02-20 11:33:57 -03:00
cristhianzl
b3f82872b0 🐛 fix(GenericNode/index.tsx): rename getIconComponent to getIconPlayOrPauseComponent for better clarity and semantics
🐛 fix(GenericNode/index.tsx): rename renderIconComponents to renderIconPlayOrPauseComponents for better clarity and semantics
🐛 fix(GenericNode/index.tsx): rename getSpecificClass to getSpecificClassFromBuildStatus for better clarity and semantics
🐛 fix(GenericNode/index.tsx): rename getNodeClassName to getNodeBorderClassName for better clarity and semantics
2024-02-20 10:48:32 -03:00
cristhianzl
a32c3a3730 🔨 refactor(GenericNode/index.tsx): extract helper functions to improve code readability and maintainability
🐛 fix(GenericNode/index.tsx): fix incorrect class name in getNodeClassName function
 feat(GenericNode/index.tsx): add renderIconComponents function to render different icon components based on build and validation status
 feat(GenericNode/index.tsx): add getSpecificClass function to determine specific class based on build and validation status
 feat(GenericNode/index.tsx): add getStatusClassName function to determine status class based on validation status and build status
 feat(GenericNode/index.tsx): add getIconComponent function to render icon component with name and class name
 feat(GenericNode/index.tsx): add getNodeClassName function to determine node class name based on selected, showNode, build status, and validation status
 feat(GenericNode/index.tsx): add getBaseBorderClass function to determine base border class based on selected state
 feat(GenericNode/index.tsx): add getNodeSizeClass function to determine node size class based on showNode state
2024-02-20 10:48:19 -03:00
Gabriel Luiz Freitas Almeida
b308183f0d Fix vertex sorting issue in Graph class 2024-02-20 10:47:44 -03:00
Gabriel Luiz Freitas Almeida
51f39223d4 Add sorting of vertices based on InterfaceComponentTypes 2024-02-20 10:28:44 -03:00
Gabriel Luiz Freitas Almeida
d0880c6c62 Refactor graph sorting algorithm to prioritize chat inputs 2024-02-20 10:03:30 -03:00
Gabriel Luiz Freitas Almeida
7c93b24845 Refactor error handling in get_vertices function 2024-02-20 10:03:24 -03:00
Gabriel Luiz Freitas Almeida
3f03425a7c Refactor layer assignment logic in Graph class 2024-02-20 09:58:32 -03:00
Gabriel Luiz Freitas Almeida
29d176c906 🔧 chore(base.py): update serialize_display_name method to handle cases where display_name is not set and convert name to title case if title_case is True 2024-02-19 21:46:47 -03:00
Gabriel Luiz Freitas Almeida
09612c82a0 Default display_name to None 2024-02-19 21:46:31 -03:00
Gabriel Luiz Freitas Almeida
fc72fa9150 Refactor custom component field ordering 2024-02-19 21:46:17 -03:00
Gabriel Luiz Freitas Almeida
c456306f8e Update field_order to be an optional list 2024-02-19 21:45:46 -03:00
Gabriel Luiz Freitas Almeida
0e30d7b12b Refactor Template class in base.py 2024-02-19 21:45:23 -03:00
Gabriel Luiz Freitas Almeida
5e641a42b8 Add field_order property to CustomComponent 2024-02-19 21:45:22 -03:00
Gabriel Luiz Freitas Almeida
977e72bb9b
New llms (#1437)
added the new llms on run mode
2024-02-19 20:57:58 -03:00
cristhianzl
862770daea Merge branch 'dev' into zustand/io/migration 2024-02-19 20:45:28 -03:00
cristhianzl
e395107473 add status on building components 2024-02-19 20:43:58 -03:00
igorrCarvalho
11651303ee Refactor: bring back play button 2024-02-19 19:41:04 -03:00
Gabriel Luiz Freitas Almeida
f417378779 Add 'as_record' parameter to ChatOutput class 2024-02-19 19:00:51 -03:00
Gabriel Luiz Freitas Almeida
03cac50323 Add RoutingVertex class to handle routing logic in graph 2024-02-19 18:54:36 -03:00
Gabriel Luiz Freitas Almeida
9c8d470e5e Add new attributes to Vertex class 2024-02-19 18:53:31 -03:00
Gabriel Luiz Freitas Almeida
aa6d57d134 Refactor GenericNode component and add duration string 2024-02-19 18:52:56 -03:00
cristhianzl
7901ba35be merge with dev 2024-02-19 18:36:30 -03:00
cristhianzl
09907ad943 add colors to borders when building 2024-02-19 18:35:24 -03:00
Gabriel Luiz Freitas Almeida
4bb6290f3c Update Record class in schema.py 2024-02-19 16:41:14 -03:00
Gabriel Luiz Freitas Almeida
87f3330ab5 Remove unused code in PromptComponent 2024-02-19 16:41:08 -03:00
Gabriel Luiz Freitas Almeida
d413b2b6fc PromptComponent now handles Record inputs 2024-02-19 16:28:32 -03:00
Gabriel Luiz Freitas Almeida
1d49876647 Refactor settings service and import statements 2024-02-19 14:56:58 -03:00
Gabriel Luiz Freitas Almeida
1b9f0c0abf
Update version to 0.6.7a5 in pyproject.toml (#1447)
This pull request updates the version in pyproject.toml to 0.6.7a5.
2024-02-19 13:44:23 -03:00
Gabriel Luiz Freitas Almeida
d0722f2212 Update version to 0.6.7a5 in pyproject.toml 2024-02-19 13:43:09 -03:00