Commit Graph

4175 Commits (309a6af3596736d2df41ff9fa0894fc0718c07e2)

Author SHA1 Message Date
hunteraraujo a7bb335752 Enhance SkillTreeView with Asynchronous Initialization and Node Mapping
This commit refactors the SkillTreeView class to include asynchronous initialization through FutureBuilder. The new version also replaces the integer-based node IDs with string-based IDs, aligning better with the SkillTreeNode model. The code now clears previous graph nodes and edges before adding new ones, preventing duplication. Additionally, the TreeNodeView component is now populated dynamically with data from the SkillTreeNode model, making the tree view more robust and integrated.
2023-09-13 17:50:53 -07:00
hunteraraujo 01b2892775 Remove comments 2023-09-13 17:47:17 -07:00
hunteraraujo 876fe5a590 Refactor TreeNodeView to Use Stateful Widget and Add Interactivity
This commit updates the TreeNodeView class from a stateless widget to a stateful widget to handle hover interactions. The new version also replaces the old simple text-based representation with a more interactive and visually appealing design that includes icons and hover effects. The SkillTreeNode model is now used to populate the node information, making the TreeNodeView more dynamic and integrated with the rest of the application.
2023-09-13 17:43:32 -07:00
hunteraraujo b58894ef33 Update TaskQueueView to display node label + description 2023-09-13 17:37:03 -07:00
hunteraraujo 30934f400a Enhance SkillTreeNode Model to Include Additional Attributes
This commit extends the SkillTreeNode class to incorporate new attributes such as 'data', 'label', and 'shape', making the model more comprehensive. The JSON deserialization is also updated to handle optional or missing fields by providing default values, improving the robustness of the model.
2023-09-13 17:32:23 -07:00
hunteraraujo 774ccc4ed2 Refactor SkillNodeData model for robust JSON deserialization
This commit updates the SkillNodeData class to handle optional or missing JSON fields more robustly. Now, the model provides default values for each field, ensuring that the object can be instantiated successfully even if some JSON fields are missing or set to null.
2023-09-13 17:31:00 -07:00
hunteraraujo 3c35cab55e Enhance Info model to handle optional JSON fields gracefully
This commit updates the Info class to provide default values for optional or missing fields in the JSON payload. This ensures that the model can be successfully instantiated even when some JSON fields are absent or set to null.
2023-09-13 17:30:41 -07:00
hunteraraujo 5e2e7a11c3 Update Ground model to handle optional JSON fields
This commit modifies the Ground class to make it more robust against optional or missing fields in the incoming JSON data. Default values have been added to ensure that the model can be instantiated even if some JSON fields are missing or set to null.
2023-09-13 17:29:05 -07:00
hunteraraujo 63b235e7ce Add initial skill tree structure JSON
This commit adds the tree_structure.json file to the assets directory, which contains the initial skill tree structure. This JSON file will serve as the data source for rendering the skill tree nodes and edges in the application.
2023-09-13 17:25:11 -07:00
SwiftyOS 839e045da4 Removed makefile and pyproject 2023-09-13 16:51:58 +02:00
merwanehamadi 144d159695
Add config (#5210)
* Fix API Mode

* Change config forge
2023-09-13 07:37:14 -07:00
merwanehamadi 52c8b53122
Fix API Mode (#5209) 2023-09-13 07:30:46 -07:00
Luke d319473e3c
Fix TestUrlShortener to prevent conflicting test.py file and clarify instructions (#5177) 2023-09-13 06:11:40 -07:00
SwiftyOS ed172dec19 fixed datetime and changed benchmark defaults for autogpt 2023-09-13 13:47:26 +02:00
SwiftyOS ab26c07296 changes the file_logger.txt to .log 2023-09-13 12:19:26 +02:00
SwiftyOS 9eb01d85a3 fixed multiple report folder bug 2023-09-13 12:18:04 +02:00
SwiftyOS d44a4f591d Added ability to keep answers 2023-09-13 11:56:31 +02:00
SwiftyOS bacd0e5e4e Added answers to the report 2023-09-13 10:40:55 +02:00
merwanehamadi b2fc8f2a06
Integrate benchmark and autogpt (#5208)
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-09-12 19:30:45 -07:00
Silen Naihin 69dadee416 moving back license, removing unnecessary files 2023-09-12 14:56:33 -07:00
Silen Naihin 436823c2e7
Update README.md
change name of twitter quicklink
2023-09-12 14:51:01 -07:00
hunteraraujo 314cce75b5
Integrate TaskQueueView and Enhance SkillTree Functionality (#5206)
* Add TestQueueView to Main Layout

This commit integrates the TestQueueView into the main layout. The layout now conditionally displays the TestQueueView based on whether a node in the SkillTree is selected.

- TestQueueView appears when a SkillTree node is selected.
- Main layout adjusts to accommodate TestQueueView alongside SkillTreeView and ChatView.
- Implemented responsive layout logic to manage the widths of the different views based on the screen width and the state of the SkillTree.

* Extend SkillTreeViewModel to Track Selected Node Hierarchy

This commit enhances the SkillTreeViewModel to maintain a list of nodes that form a hierarchy from the currently selected node to the root. This allows for more interactive and informative views that can leverage this hierarchical data.

- Added a new property `selectedNodeHierarchy` to keep track of the node hierarchy.
- Modified the `toggleNodeSelection` method to populate or clear `selectedNodeHierarchy` based on node selection.
- Introduced a new method `populateSelectedNodeHierarchy` to build the hierarchy from the selected node to the root.

* Extract skill tree view model reset state to method

* Implement UI enhancements for TaskQueueView

This commit introduces several UI improvements to the TaskQueueView:
- Tiles are padded 20 units from both the leading and trailing edges.
- Tiles now have a white background.
- Added a thin black border to the tiles.
- Incorporated a slight corner radius for the tiles.
- Centered the title and subtitle horizontally within the tiles.
- Added a checkmark button with a tooltip at the bottom-right corner for running a suite of tests.

These changes aim to improve the user experience and visual appeal of the TaskQueueView.

* Make MainLayout a consumer of SkillTreeViewModel
2023-09-12 14:01:32 -07:00
merwanehamadi a6e195aa06
Update Readme Flutter (#5205) 2023-09-12 12:48:01 -07:00
merwanehamadi c23278eabd
Update README.md 2023-09-12 12:47:09 -07:00
merwanehamadi 14ef3410eb
Update Readme Flutter 2023-09-12 12:46:39 -07:00
merwanehamadi 87e972c138
Change agbenchmark folder (#5203) 2023-09-12 12:42:05 -07:00
Merwane Hamadi cd30e18986 Change agbenchmark folder 2023-09-12 12:40:53 -07:00
merwanehamadi 983130c9ac
Fix forgeAgent class (#5204) 2023-09-12 12:36:03 -07:00
Merwane Hamadi afce057b19 Fix forgeAgent class 2023-09-12 12:34:32 -07:00
merwanehamadi 17246ba086
Benchmark fixes (#5201) 2023-09-12 12:14:03 -07:00
Merwane Hamadi 1b14d304d4 Benchmark changes
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-09-12 12:13:39 -07:00
Toran Bruce Richards 978a980d72
Update README.md
Replaces Auto-GPT witrh AutoGPT throughout root ReadMe.
2023-09-12 16:10:14 +01:00
SwiftyOS 1281a264f5 more benchmark fixes 2023-09-12 12:47:06 +02:00
SwiftyOS d3067c83d3 Added documentation 2023-09-12 11:39:22 +02:00
SwiftyOS cc4706ece0 Added ignore private files 2023-09-12 11:00:30 +02:00
SwiftyOS 255144bf78 Renamed forge module forge from autogpt 2023-09-12 11:00:05 +02:00
SwiftyOS 90f70aca4d Deleted start_benckmark file as it's in __main__.py now 2023-09-12 10:58:22 +02:00
merwanehamadi 8502d9cbe3
benchmark-fix (#5198) 2023-09-11 21:41:20 -07:00
merwanehamadi 049d6c7a35
Merge branch 'master' into benchmark-fix-2 2023-09-11 21:39:57 -07:00
Silen Naihin c8add70676
read me update for monorepo (#5199) 2023-09-11 21:38:31 -07:00
merwanehamadi 421965c67d
Merge branch 'master' into benchmark-fix-2 2023-09-11 21:37:52 -07:00
Silen Naihin 8080fb098e removing right 2023-09-11 21:37:33 -07:00
Merwane Hamadi c7550ba845 benchmark-fix 2023-09-11 21:37:23 -07:00
Silen Naihin ba46b25ac2 spelling fix 2023-09-11 21:37:03 -07:00
Silen Naihin c0a8a91109 fixing top cluttered 2023-09-11 21:35:54 -07:00
Silen Naihin e5d2563a2e read me updated 2023-09-11 21:34:24 -07:00
Silen Naihin 18e66de8d4 Merge branch 'master' into fix/readme 2023-09-11 19:29:25 -07:00
Silen Naihin 1d10919b91 updating unsafe monitor 2023-09-11 19:21:43 -07:00
Silen Naihin 897d492235 Merge branch 'master' into fix/readme 2023-09-11 19:19:47 -07:00
merwanehamadi cc24dd50e5
benchmark-fix (#5197) 2023-09-11 18:23:29 -07:00