Commit Graph

4955 Commits

Author SHA1 Message Date
Reinier van der Leer
b106a61352 Clean up & fix GitHub workflows (#6313)
* ci: Mitigate security issues in autogpt-ci.yml

- Remove unnecessary pull_request_target paths and related variables and config
- Set permissions for contents to read only

* ci: Simplify steps in autogpt-ci.yml workflow using GitHub CLI

- Simplify step in 'autogpt-ci.yml' by using GitHub CLI instead of API for adding label and comment functionality
- Replace curl command with 'gh issue edit' to add "behaviour change" label to the pull request
- Replace gh api command with 'gh issue comment' to leave a comment about the changed behavior of AutoGPT in the pull request

* ci: Fix issues in workflows

- Move environment variable definition to top level in benchmark-ci.yml (because the other job also needs it)
- Removed invalid 'branches: [hackathon]' restriction in hackathon.yml workflow
- Removed redundant 'ref' and 'repository' fields in the 'checkout' step of both workflows.

* ci: Delete legacy benchmarks.yml workflow

* ci: Add triggers for CI workflows

- Add triggers to run CI workflows when they are edited.
- Update the paths for the CI workflows in the trigger configuration.

* fix: Fix benchmark lint error

- Removed unnecessary blank lines in report_types.py
- Fixed string quotes in challenge.py to maintain consistency

* fix: Update task description in password generator data.json

- Update task description in `data.json` file for the password generator challenge to clarify the input requirements and error handling.
- This change is made in an attempt to make the Benchmark CI pass.

* fix: Fix PasswordGenerator challenge in CI

- Fix the behavior of the reference password_generator.py to align with the task description
- Use default password length 8 instead of a random length in the generate_password function
- Retrieve the password length from the command line arguments if "--length" is provided, else set it to 8
2023-11-21 10:58:54 +01:00
Aaron
874000624d Allow AutoGPT to access local web hosts (#5318)
Update validators.py

allow ports to be used in host names. e.g. localhost:8888. 
(Note: code generated by ChatGPT.)
2023-11-16 15:31:22 +01:00
HawkClaws
6664eec8ce Improve the accuracy of the extract_dict_from_response method's JSON extraction (#5458) 2023-11-16 15:19:09 +01:00
SwiftyOS
787c71a9de update benchmarking workflow 2023-11-16 14:49:09 +01:00
Reinier van der Leer
c4494d8c02 fix: Add data directory to lint exclusion list
- Add data directory to exclusion list in `.flake8` configuration file
- Ignore agent-generated python files while linting in `pyproject.toml` file
2023-11-16 14:36:08 +01:00
Reinier van der Leer
0b3aea92d1 fix: Improve parsing of JSON in LLM responses
- Ignored any content preceding the first opening brace in the response
- Updated `utilities.py` file in the `autogpt` package
2023-11-16 14:33:16 +01:00
八马嗷嗷嗷
58292d59bc songyalei entering the arena (#6259) 2023-11-16 11:51:57 +01:00
Craig
d33e7f8ba9 Susan entering the arena (#6107) 2023-11-16 11:51:43 +01:00
Kiran
22fb0f7bbf fix(cli): resolve warning caused by \w in regular string (#6236) 2023-11-16 10:23:25 +01:00
Reinier van der Leer
60264d65db Add fridge, project management labels to do-not-stale list for issues 2023-11-16 10:14:59 +01:00
Bently
bcdc8d46f5 Restructuring The Docs (#5441)
* Adding More Info To The Docs

* Start of main page rebuild and adding new folders

* Starting to move the AutoGPT(agent) Docs to a subfolder and start setup forge's subfolder

* small fixes in links

* fix file name

* added the benchmakrs page

* added front-end page

* re-aranging the layout

* moved the config section to be under the AutoGPT folder

* fix image link

* moved "Share Logs" and "Testing" to be under the AutoGPT folder

* index.md: fix broken links on home page

* Index.md: Testing Something with the links

* index.md: Added the Benchmarks section

* small fix for Frontend

* Added a chat ai to the docs for testing as part of #5694

* index.md: sepetating the sections and making it easier to read

* index.md: Added discord Link

* index.md: Added better info to each section from @Yash-Ambekar

* index.md: trying to fix the layout

* Index.md: updating layout

* Move Docker Setup To Its Own File

* small fix

* seperating the installation setups to there own page for making things clear

* small fix in links

* fix links again

* change nav titles color to help make things clear

* fix css

* mv custom.css

* fix for css not working

* rm custom css as it didnt work

* fix img

* update image url

* update nav

* index.md: improving layout and wordings

* index.md: testing line breaks

* index.md: Fixed the line breaks

* setup/docker-setp.md: small fix

* Docker-setup.md update link to correct memory page

* docker-setup.md: added note about docker install being broken

* Docker-Setup.md: Updating the warning

* Docker-Setup.md : Test

* docker-setup.md: fix

* docker-setup.md: fix

* docker-setup.md final update to the warning

* Docker-Setup.md

* Updates to mkdocs.yml and docker-setup based on the feedback

* fix to docker-setup.md

* docker-setup.md fix

* introduction.md: fix

* Update docs/content/AutoGPT/Setups/Docker-setup.md

Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com>

* docker-setup.md update link

* Update docs/content/AutoGPT/Setups/Git-setup.md

Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com>

* Update docs/content/AutoGPT/Setups/Git-setup.md

Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com>

* nogit-setup.md: updated links

* Update docs/content/AutoGPT/Setups/Git-setup.md

Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com>

* Update docs/content/index.md

Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com>

* Update docs/content/index.md

Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com>

* Update docs/content/index.md

Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com>

* Update docs/content/index.md

Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com>

* setup.md: added extra info about the docker insall

* setup.md small changs to clean things up

* removed emojis from forge get-started.md

* get-started.md - small changes

* Update AutoGPT intro in index.md

---------

Co-authored-by: sohamtembhurne <sohamatembhurne@outlook.com>
Co-authored-by: Yash-Ambekar <yashambekar03@gmail.com>
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
Co-authored-by: Andy Hooker <58448663+andrewhooker2@users.noreply.github.com>
Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
2023-11-15 18:54:29 +01:00
SwiftyOS
0719780c91 Allowed all for CORS added autogpt to the arena 2023-11-15 10:53:11 +01:00
SwiftyOS
fa357dd139 fix: Fixing Benchmarking
- Importing missing metadata field in Test class in report_types.py
- Adding GAIA categories 1, 2, and 3 in data_types.py
2023-11-09 10:00:50 +01:00
Reinier van der Leer
6c84035c7e Disable hybrid mode in AutoGPT by default
- Update `big_brain` attribute in `BaseAgentConfiguration` to default to `True`.
- This change disables hybrid mode in AutoGPT, making it use the configured smart LLM for thinking.
2023-11-08 10:11:40 -06:00
Reinier van der Leer
345ff6f88d feat: Add support for new models and features from OpenAI's November 6 update (#6147)
* feat: Add support for new models and features from OpenAI's November 6 update
  - Updated the `OpenAIModelName` enum to include new GPT-3.5 Turbo and GPT-4 models
  - Added support for the `GPT3_v3` and `GPT4_v3` models in the `OPEN_AI_CHAT_MODELS` dictionary
  - Modified the `OpenAIProvider` class to handle the new models and features
  - Updated the schema definitions in the `schema.py` module to include `AssistantToolCall` and `AssistantToolCallDict` 
models
  - Updated the `AssistantChatMessage` and `AssistantChatMessageDict` models to include the `tool_calls` field
  - Refactored the code in various modules to handle the new tool calls and function arguments

  Added support for the new models and features introduced with OpenAI's latest update. This commit allows the system to utilize the `GPT3_v3` and `GPT4_v3` models and includes all necessary modifications to the codebase to handle the new models and associated features.

* Fix validation error in LLM response handling

* fix: Fix profile generator in-prompt example for functions compatibility mode
  - Updated the in-prompt example in the profile generator to be compatible with functions compatibility mode.
  - Modified the example call section to correctly reflect the structure of function calls.
2023-11-07 17:34:11 -06:00
bsenst
578087ec96 fix typos (#5608)
Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
2023-11-07 17:22:05 -06:00
Surav Shrestha
ad305fd019 docs: fix typos in markdown files (#5871)
* docs: fix typos in QUICKSTART.md

* docs: fix typos in autogpts/autogpt/autogpt/core/ARCHITECTURE_NOTES.md

---------

Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
2023-11-07 17:16:33 -06:00
Reinier van der Leer
a2dc4b1834 refactor: Delete dead legacy code from autogpt.llm.providers.openai 2023-11-07 16:52:16 -06:00
Reinier van der Leer
7a7a144690 refactor: Tweak prompts & improve AutoGPT agent step output
- Make minor adjustments to prompts in the OneShotAgentPromptConfiguration class
- Enhance the output format of the execute_result in AgentProtocolServer
- Update the key name from "criticism" to "self_criticism" in print_assistant_thoughts function
- Modify the output format of the web search results in the web_search function
2023-11-07 16:51:32 -06:00
Reinier van der Leer
0bd776dde5 fix: Prevent AutoGPT crashes when LLM does not use a command
- Updated `agent.py` to check if `command_name` exists before registering an action in `event_history`.
- Updated `agent_protocol_server.py` to handle the scenario when `execute_command` is not provided by LLM.
- Updated `main.py` to check if `command_name` exists before executing the command and logging the result.
2023-11-07 16:48:54 -06:00
rummsi1337
25c6d019fe Fix for agent_name regex (#6108)
The improved regex was introduced with
https://github.com/Significant-Gravitas/AutoGPT/pull/6096

However, there seems to be an issue with the updated regex;
The uppercase meta-character `\W` only matches non-word characters,
i.e. everything that is NOT [A-Za-z0-9_].
What you actually want is to use the lowercase `\w` character.

Co-authored-by: Simon Rummert <09.milieu.motes@icloud.com>
2023-11-06 10:26:15 +01:00
Filip
17fa807279 AGENT_JARVIS entering the arena (#6118) 2023-11-06 10:24:05 +01:00
Yasien Dwieb
5c53907895 autogptagent entering the arena (#6119) 2023-11-06 10:23:49 +01:00
JawadAbu
fb74e0615e Ahmad entering the arena (#6121)
Co-authored-by: Ahmad <ahmad.majdouba@epfl.ch>
2023-11-06 10:23:28 +01:00
QingHu1227
2e29a681e7 qinghu3 entering the arena (#6124) 2023-11-06 10:23:12 +01:00
Craig
37a62de458 Fixed typo in registry.py (#6127) 2023-11-06 10:22:54 +01:00
yang song
e2809b582f bingoTesting entering the arena (#6125) 2023-11-06 10:22:13 +01:00
hunteraraujo
a1d6087814 Comment change 2023-11-04 10:53:32 -07:00
stargatejy
0b55de62dc MangoAgent-4 entering the arena (#5989) 2023-11-03 11:35:40 +01:00
Qi Z
86f2d0ada3 Q entering the arena (#5990) 2023-11-03 11:27:10 +01:00
warlockee
0866d23481 WarlockAgent entering the arena (#5992) 2023-11-03 11:26:50 +01:00
Lewis Peel
580481d4f7 Orange entering the arena (#5993) 2023-11-03 11:26:29 +01:00
LFarmbot
10aaeac836 SaveAsPDF2 entering the arena (#5994) 2023-11-03 11:26:05 +01:00
Thiago Marafon
abdf449aa5 TMarafon entering the arena (#5995) 2023-11-03 11:25:45 +01:00
Abdul-Mujeeb Aliu
c8fde2d4a4 podcast_agent entering the arena (#5996) 2023-11-03 11:25:27 +01:00
gentaag
8e4d545994 YOU entering the arena (#6003) 2023-11-03 11:24:40 +01:00
gentaag
df415d1ce6 N entering the arena (#6005) 2023-11-03 11:24:06 +01:00
Luka Dumančić
4be8a563c7 agent2 entering the arena (#6007) 2023-11-03 11:23:51 +01:00
Nameless8243
a0432c7aa1 agentSmith entering the arena (#6012) 2023-11-03 11:23:22 +01:00
Amah Ajavon
52b935de90 ArtistManagerGPT entering the arena (#6013) 2023-11-03 11:22:53 +01:00
mtx-light
e39d56781f coder_first entering the arena (#6015) 2023-11-03 11:22:24 +01:00
mtx-light
818186bddc autocoder entering the arena (#6016) 2023-11-03 11:22:06 +01:00
SwiftyOS
5bf00cf247 build: Remove poetry.lock and pyproject.toml
- Removed poetry.lock and pyproject.toml as they are generated files and should not be included in the repository.
2023-11-03 11:20:29 +01:00
Tianxiang(Ivan) Liu
e738a0d733 ivangpt_agent entering the arena (#6021)
* ivangpt_agent entering the arena

* setup autogpt
2023-11-03 11:18:56 +01:00
mvuthegoat
e9f2f9e5ed lilAgent entering the arena (#6023)
* lilAgent entering the arena

* lilAgent entering the arena

---------

Co-authored-by: Minh Vu <mvu@MacBook-Pro-cua-Minh.local>
2023-11-03 11:18:21 +01:00
ces-sonnguyen
914981831a CES-GPT entering the arena (#6027) 2023-11-03 11:18:00 +01:00
jiarung
9c6fde9499 houxe entering the arena (#6028) 2023-11-03 11:17:43 +01:00
Yanniswein
1b524bd5d4 Jean-Michel entering the arena (#6029) 2023-11-03 11:17:27 +01:00
Windii
4850dde27e LbAgent entering the arena (#6030)
Co-authored-by: liubiao <liubiao@youkia.net>
2023-11-03 11:17:05 +01:00
NAN
f01679c4f6 NanAutoGPT entering the arena (#6031) 2023-11-03 11:16:42 +01:00