Commit Graph

4472 Commits

Author SHA1 Message Date
Reinier van der Leer
d8f1d34345 AutoGPT: extract core.prompting module out of core.planning 2023-09-18 00:05:06 +02:00
Reinier van der Leer
b6fd54f599 Unbreak AutoGPT 2023-09-17 22:39:26 +02:00
SwiftyOS
3ea9d6a70f simplified the install script add help instruction 2023-09-17 18:41:06 +02:00
Reinier van der Leer
b181733d59 Protect meta issues from being staled 2023-09-17 16:56:49 +02:00
Reinier van der Leer
d5a88d43a7 AutoGPT: fix docker entrypoint 2023-09-17 16:47:57 +02:00
Reinier van der Leer
11920b8fe5 AutoGPT/v2: First pass with small fixes
* Typing fixes & improvements

* Improved console output formatting

* Added support for all OpenAI GPT-3.5-turbo and GPT-4 model versions

* Added token counting functions to ModelProviders
2023-09-17 16:40:56 +02:00
merwanehamadi
f4d319cee4 Refactor benchmark (#5247)
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-09-17 06:55:20 -07:00
hunteraraujo
4463f75756 Fix issue where side bar view is not disabled 2023-09-16 22:19:42 -07:00
hunteraraujo
60ae12dfd5 Implement UI Disable Feature During Benchmark Run
Added a state variable isBenchmarkRunning in SkillTreeViewModel to track the status of benchmark execution. This state variable is used to conditionally disable specific UI components:

- The "Initiate test suite" button in TaskQueueView is disabled during the benchmark.
- All IconButtons in SideBarView are disabled during the benchmark.
- Node selection in SkillTreeView is disabled during the benchmark.

This ensures that the user cannot interact with these components while a benchmark test is running, thereby improving UX and preventing potential issues.
2023-09-16 19:24:54 -07:00
hunteraraujo
11101286a3 Remove comment 2023-09-16 19:02:45 -07:00
hunteraraujo
6b921b5eda Refactor test suite button + rename method to runBenchmark 2023-09-16 18:56:42 -07:00
hunteraraujo
25ce1d6be0 Fix regression with deleting tasks 2023-09-16 17:28:58 -07:00
merwanehamadi
f76d45cd9e Remove start from agbenchmark (#5241)
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-09-16 17:22:49 -07:00
merwanehamadi
4e43e4be78 Update CI pipy (#5240) 2023-09-16 17:00:46 -07:00
merwanehamadi
ece9e85b41 Add agent protocol within agbenchmark (#5239)
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-09-16 15:31:12 -07:00
hunteraraujo
d48eb99669 Pass Real Data to callGenerateReport in TaskQueueView
This commit updates the `TaskQueueView` to pass real data from the `selectedNodeHierarchy` to the `callGenerateReport` method in `SkillTreeViewModel`. An array of test names is constructed from the reversed node hierarchy, and these names are used as the `tests` field in the `ReportRequestBody`.

Note: The `category` field is now an empty string as per the new requirement, and `mock` continues to be set to true.
2023-09-16 15:14:34 -07:00
merwanehamadi
3e612e97de Update version to 0.0.10 (#5238)
Update pyproject.toml
2023-09-16 15:07:53 -07:00
merwanehamadi
098bcb8b8d Add working directory to agbenchmark pipy CI (#5237) 2023-09-16 14:36:35 -07:00
merwanehamadi
5039f25585 Update CI to release agbenchmark to pypi (#5236) 2023-09-16 14:29:55 -07:00
merwanehamadi
cb8cb5f7a3 Update pyproject.toml (#5235) 2023-09-16 14:11:59 -07:00
merwanehamadi
255c6a8f3a Add command to reset environments (#5234) 2023-09-16 14:03:48 -07:00
merwanehamadi
b101fec16b Add ability to run multiple tests (#5233)
Add multiple tests

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-09-16 13:01:11 -07:00
hunteraraujo
454b78c1ac Integrate callGenerateReport with TaskQueueView's Checkmark Button
This commit integrates the `callGenerateReport` method from `SkillTreeViewModel` into the `TaskQueueView`. Now, when the user clicks the green checkmark button, the `callGenerateReport` method is triggered with hardcoded values for testing purposes.

Note: The implementation is still temporary and will be updated for dynamic behavior in the future.
2023-09-16 11:04:40 -07:00
hunteraraujo
39c0a1c4f8 Merge branch 'master' of github.com:Significant-Gravitas/Auto-GPT 2023-09-16 10:56:49 -07:00
merwanehamadi
991e816ea2 Fix CORS issue (#5232)
* Allow Cors

* Update app.py
2023-09-16 10:56:21 -07:00
SwiftyOS
cbcdcad43c Added ascii art to cli 2023-09-16 19:53:28 +02:00
SwiftyOS
b155508b12 removed swifty arena entry 2023-09-16 19:40:21 +02:00
hunteraraujo
7f5c50dfeb Extend ReportRequestBody to Include "mock" Boolean Field
This commit adds a new boolean field, "mock", to the `ReportRequestBody` class. This additional field is in line with the new requirements to specify whether the report is a mock or not.

The `toJson()` method is also updated to include this new field during serialization.
2023-09-16 10:39:33 -07:00
SwiftyOS
4245a6c4f0 switch check to see if the submission branch exists 2023-09-16 19:37:52 +02:00
SwiftyOS
5bfefd6a12 fixed branch names 2023-09-16 19:06:18 +02:00
SwiftyOS
02bda90a29 Added an update function, instructions on how to make another submission and an update function 2023-09-16 18:51:02 +02:00
SwiftyOS
2211efc800 black formatting 2023-09-16 18:28:26 +02:00
SwiftyOS
7fda0c7884 removed submit command 2023-09-16 18:27:42 +02:00
SwiftyOS
aea21a9694 deleted sync command 2023-09-16 18:24:48 +02:00
SwiftyOS
03abb32cca deleted swifty agent 2023-09-16 18:24:04 +02:00
Reinier van der Leer
dd2078a6f5 Fix root pyproject.toml 2023-09-16 16:51:39 +02:00
merwanehamadi
295702867a Ability to run by categories (#5229)
* Ability to run by categories

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>

* always use Path.cwd()

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>

---------

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-09-15 20:04:12 -07:00
hunteraraujo
688cd52be2 Merge branch 'master' of github.com:Significant-Gravitas/Auto-GPT 2023-09-15 14:54:14 -07:00
hunteraraujo
f26ae288d0 Integrate Firebase Authentication and Streamline Auth Flow in main.dart
This commit integrates Firebase Authentication into the application and refactors the `main.dart` file to streamline the user authentication flow. The application will now automatically switch between the main layout and the authentication UI based on the user's sign-in status.

- Added Firebase initialization to the `main()` function for Firebase Authentication.
- Replaced the home page in `MyApp` with a `StreamBuilder` that listens for Firebase auth state changes.
- Based on the auth state, the home page will either show `MainLayout` (if the user is signed in) or `FirebaseAuthView` (if the user is not signed in).
- Added necessary imports for the Firebase and authentication services.
2023-09-15 14:37:15 -07:00
hunteraraujo
4d41584547 Implement FirebaseAuthView for Google and GitHub Sign-In
This commit adds the `FirebaseAuthView` class, a Flutter widget that serves as the UI for user authentication using Google and GitHub. The class uses the `AuthService` to handle the actual sign-in logic.

Features:
- Added an OutlinedButton for Google Sign-In, styled with Google's colors and logo.
- Added an OutlinedButton for GitHub Sign-In, styled with GitHub's colors and logo.
- Integrated the `AuthService` methods for Google and GitHub sign-in.
2023-09-15 14:26:04 -07:00
WilliamEspegren
058e679931 AutoGPT: Improve input prompt appearance (#5211)
Adds space between users input and "Input:"
2023-09-15 23:23:52 +02:00
hunteraraujo
a6541b60fc Add AuthService Class for Google and GitHub Authentication
This commit introduces the AuthService class, which encapsulates the logic for signing in with Google and GitHub using Firebase Authentication. The class provides methods for initiating the OAuth flows for both providers and for signing out the user.

- Implemented `signInWithGoogle()` to handle Google Sign-In.
- Implemented `signInWithGitHub()` to handle GitHub Sign-In via popup.
- Added `signOut()` method for logging out the user.
- Added `getCurrentUser()` method to fetch the currently authenticated user.
2023-09-15 14:20:18 -07:00
hunteraraujo
001b795ea0 Update index.html to support web 2023-09-15 14:17:44 -07:00
hunteraraujo
b7f04b0663 Add GoogleService-Info.plist for iOS 2023-09-15 14:15:30 -07:00
hunteraraujo
80c35e7623 Add google-services.json for android 2023-09-15 14:15:14 -07:00
hunteraraujo
70625f85a3 Add firebase libraries + google/github logo assets 2023-09-15 14:15:00 -07:00
SwiftyOS
7320f9d3f8 updated hash 2023-09-15 21:35:16 +02:00
Swifty
92db8eedd7 swifty entering the arena (#5227)
* swifty entering the arena
2023-09-15 21:29:04 +02:00
SwiftyOS
7bc7cd4671 added swifty agent 2023-09-15 21:27:02 +02:00
SwiftyOS
aff6dc24b1 agents to agent in docs 2023-09-15 21:17:41 +02:00