Files
Auto-GPT/frontend
hunteraraujo ecc8d9430c Enhance Hierarchy Population to Support Nodes with Multiple Parents
This commit refines the `populateSelectedNodeHierarchy` method in the `SkillTreeViewModel` to accurately represent nodes that possess multiple parent nodes, ensuring a comprehensive and non-redundant representation of the entire hierarchy leading back to the root nodes.

Modifications and Features:
- The method now employs recursion to traverse all possible paths back to the root nodes from a selected node, capturing every unique node in the hierarchies.
- A `Set` is utilized to monitor and ensure that each node is only added once to the `_selectedNodeHierarchy` list, eliminating the possibility of duplicates.
- The finalized `_selectedNodeHierarchy` list is constructed such that the root of the tree is the last item in the list, providing a more logical representation of the hierarchy.

These enhancements ensure a more accurate and efficient representation of the skill tree structure, particularly in scenarios where nodes have multiple parents, facilitating better navigation and interaction within the skill tree.
2023-09-22 17:26:47 -07:00
..
2023-09-22 13:09:57 -07:00
2023-09-22 10:05:52 +02:00
2023-09-15 14:15:30 -07:00
2023-09-20 20:40:12 -07:00
2023-09-15 14:17:44 -07:00
2023-09-20 20:40:12 -07:00
2023-09-20 20:40:12 -07:00
2023-09-22 15:49:29 -07:00

AutoGPT Flutter Client

Description

This repository contains the Flutter client for the AutoGPT project. The application facilitates users in discussing various tasks with a single agent. The app is built to be cross-platform and runs on Web, Android, iOS, Windows, and Mac.

Features

  • List and manage multiple tasks.
  • Engage in chat conversations related to selected tasks.

Design document

The design document for this project provides a detailed outline of the architecture, components, and other important aspects of this application. Please note that this is a living, growing document and it is subject to change as the project evolves.

You can access the design document here.

Requirements

  • Flutter 3.x
  • Dart 3.x

Flutter comes with Dart, to install Flutter, follow the instructions here: https://docs.flutter.dev/get-started/install

Installation

  1. Clone the repo:
git clone https://github.com/Significant-Gravitas/AutoGPT.git
  1. Navigate to the project directory:
cd AutoGPT/frontend
  1. Get Flutter packages:
flutter pub get
  1. Run the app:
flutter run -d chrome --web-port 5000

Project Structure

  • lib/: Contains the main source code for the application.
  • models/: Data models that define the structure of the objects used in the app.
  • views/: The UI components of the application.
  • viewmodels/: The business logic and data handling for the views.
  • services/: Contains the service classes that handle communication with backend APIs and other external data sources. These services are used to fetch and update data that the app uses, and they are consumed by the ViewModels.
  • test/: Contains the test files for unit and widget tests.

Responsive Design

The app features a responsive design that adapts to different screen sizes and orientations. On larger screens (Web, Windows, Mac), views are displayed side by side horizontally. On smaller screens (Android, iOS), views are displayed in a tab bar controller layout.

License

This project is licensed under the MIT License - see the LICENSE file for details.