Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.4.0 #4539

Merged
merged 114 commits into from
Jun 5, 2023
Merged
Show file tree
Hide file tree
Changes from 102 commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
19e6422
Sync `stable` into `master` after v0.3.1 release (#4203)
p-i- May 15, 2023
1a2f768
Patch CI proxy
Pwuts May 15, 2023
16b7e7a
Update prompt.py to clarify how to call commands (#4027)
richbeales May 15, 2023
d06d8a6
Fix commands with same name overwriting (#4226)
k-boikov May 15, 2023
cf35112
Fixed error in safe_google_results, added tests (#3606)
k-boikov May 15, 2023
3c80e05
Improve error message by providing the name of the env file (#3964)
Boostrix May 15, 2023
17c45ee
Show workspace during startup / fix for #2793 (#4082)
Boostrix May 15, 2023
6c4426d
Refactor challenges to use cycle count instead of time (#4222)
waynehamadi May 16, 2023
c04f221
Added feature to interrupt y -N continuous commands. (#4230)
gravelBridge May 16, 2023
517c080
fix ci cassettes (#4234)
waynehamadi May 16, 2023
85fe6f3
Fix ai_name not passed to Agent (#3948)
tmalahie May 16, 2023
cb2b13d
Legal warning on continuous run (#4239)
ntindle May 16, 2023
0839a16
Clarify .env.template image-provider options (#3720)
cwenner May 16, 2023
c1cd54d
Allow absolute paths if contained in workspace (#3932)
BaseInfinity May 16, 2023
f424fac
Huggingface retry generate_image with delay (#2745)
primaryobjects May 16, 2023
627aeb2
Adds check for Python 3.10 and print error message if required versio…
amokduke May 16, 2023
52874cc
Update README.md - make stable branch less shouty (#3702)
richbeales May 17, 2023
55af3e1
CI Pipeline: create cassettes in fork (#4257)
waynehamadi May 17, 2023
1c96a5a
encourage people to use a separate user account w/o VM/docker (#3961)
Boostrix May 17, 2023
2cd835e
Added custom_search_engine_id as mandatory for official google search…
k-boikov May 17, 2023
7c71b43
mention docker rebuild is necessary if changing requirements.txt (#4136)
Boostrix May 17, 2023
feae20d
Update PULL_REQUEST_TEMPLATE.md to include linting (#3625)
richbeales May 17, 2023
7508e99
Implement Logging of Self-Feedback in logs/Debug Folder (#3868)
AndresCdo May 17, 2023
1c399e6
Add $ to timestamp in ci.yml and improve diff (#4266)
waynehamadi May 17, 2023
42a5a0c
Make prompt parameters configurable (#3375)
DGdev91 May 17, 2023
19767ca
Logs output to console if we're not on speak mode (#3715)
Zorinik May 17, 2023
0b39b92
Update README.md
Torantulino May 18, 2023
dc41db9
Update README.md
Torantulino May 18, 2023
c4b32e0
switching from unittest to pytest in test_json_parser (#3481)
rihp May 18, 2023
e2851dc
Incremented Version BULLETIN.md (#4236)
AlexKissiJr May 18, 2023
5b4bcf1
Prevent test collection errors in devcontainer (#4180)
lc0rp May 18, 2023
f13aba0
Added unittest cases for commands/analyze_code.py file (#4212)
gocodeo May 19, 2023
812be60
Delete sponsors_readme.yml workflow (#4304)
Pwuts May 19, 2023
ee98641
Imagegen delay retry huggingface (#4194)
lc0rp May 19, 2023
ccc03c1
Enabling/disabling none/all of plugins from .env file (#4036)
TrajanWJ May 19, 2023
a6d4dea
Update setup.md (#3690)
johnisanerd May 19, 2023
bf33f4a
add command shell blacklist and whitelist (#3950)
Wladastic May 19, 2023
a08fc85
Used a regex expression for simple URL validation and added tests (#3…
OmriGM May 19, 2023
c3f7916
Clean up BULLETIN.md (#4305)
Pwuts May 19, 2023
7e21f38
Added unittest cases for commands/audio_text.py (#4307)
gocodeo May 19, 2023
023a50d
Adding devcontainer extensions (#4181)
lc0rp May 20, 2023
c30f5b7
fix: completion was being called with wrong data types (#4324)
ntindle May 20, 2023
57ea7b5
Fixed #4229 (#4278)
konraddroeske May 20, 2023
bcc32cc
Fix split_file when overlap = 0, add test (#3599)
k-boikov May 21, 2023
e1c6778
Update README.md (#4333)
namelessperson0 May 21, 2023
31525df
Text file loaders (#3031)
sherif-med May 21, 2023
dcb1cbe
Update 1.bug.yml to improve consistency of data (#4293)
bfalans May 21, 2023
360d5cd
Prevent docker compose to break config by creating folders (#4125)
k-boikov May 22, 2023
3e24d31
Create data folder in Docker release build (#4347)
Pwuts May 22, 2023
77ee9f8
Pass command line args as list (#1486)
Androbin May 22, 2023
cc709bb
Improve Azure setup wording in docs (#4325)
ntindle May 22, 2023
3a2800b
Cassettes should be added in the same pull request, without extra pul…
waynehamadi May 23, 2023
9c7f567
CI: set base repo before `gh pr checkout` (#4363)
waynehamadi May 23, 2023
a8af331
Update get_hyperlinks description (#4122)
sicongzhao May 23, 2023
d4d50fd
Fix the version of duckduckgo-search to avoid empty result issue (#4368)
kinance May 23, 2023
438d3e4
empty commit to see cassette status (#4382)
waynehamadi May 24, 2023
5168cb5
Migrate google search to use DDGS.text function (#4383)
kinance May 24, 2023
43565b2
Remove Twitter Command (#4381)
ntindle May 25, 2023
e3e9a81
Re-point link to wiki in CONTRIBUTING.md
p-i- May 25, 2023
1ab3a40
Repoint to wiki page 1.bug.yml
p-i- May 25, 2023
2a6f01a
Re-point wiki link in 2.feature.yml
p-i- May 25, 2023
6e14782
Re-point wiki link in PULL_REQUEST_TEMPLATE.md
p-i- May 25, 2023
10489e0
Fix duckduckgo-search to 3.0.2 stable version (#4405)
kinance May 25, 2023
bfbe613
Vector memory revamp (part 1: refactoring) (#4208)
Pwuts May 25, 2023
ddf5927
Remove obsolete full_message_history kwarg from tests (#4411)
k-boikov May 25, 2023
d3fc8c4
add 30 min timeout for tests (#4416)
k-boikov May 25, 2023
f07fcdf
Pull auto-gpt-plugin-template from GitHub instead of PyPI (#4402)
k-boikov May 26, 2023
acfd966
Pass Configs to Commands and remove CFG = Config() in the commands/ f…
ntindle May 26, 2023
6c45fcd
remove cassettes auto commit (#4432)
waynehamadi May 26, 2023
e7c0d33
Create cassette submodule (#4420)
waynehamadi May 26, 2023
064e95b
Allow spinning to be disabled (#4329)
k-boikov May 26, 2023
e05c000
Update README.md
Torantulino May 26, 2023
4b7fa7f
Fix typo and links in documentation (#4440)
kinance May 27, 2023
03036c1
Added three more tests to check for edge cases in URL validation (#4441)
Jedimasterjohns May 27, 2023
44f6d94
fix information retrieval challenge (#4448)
waynehamadi May 28, 2023
7877452
Update submodule reference
Auto-GPT-Bot May 28, 2023
ee9f10a
remove unused imports automatically (#4449)
waynehamadi May 28, 2023
daafda3
Update README.md
Torantulino May 29, 2023
31cd836
"Beat Challenges" Mode (#4447)
waynehamadi May 29, 2023
1127d9c
Master doesn't beat memory challenge b level 1 in a consistent manner…
waynehamadi May 29, 2023
b5d78a4
Update submodule reference
Auto-GPT-Bot May 29, 2023
1ddf232
Improve the steps for running docker compose in the setup documentati…
kinance May 29, 2023
1446ffd
Fix #942: Respect --gpt4only, --gpt3only cli args (#3144)
lc0rp May 29, 2023
d34b8a2
Replace 'prompt change' with 'behavior change' (#4473)
waynehamadi May 30, 2023
ba80467
Update current score when PR merged (#4464)
waynehamadi May 30, 2023
56650b6
Update current score
Auto-GPT-Bot May 30, 2023
22429c6
add vcr to dalle (#4474)
waynehamadi May 30, 2023
d3a1770
Update submodule reference
Auto-GPT-Bot May 30, 2023
b56352e
Fix #4461: Don't record error requests in challenges (#4469)
erik-megarad May 30, 2023
6806b66
Information retrieval challenge (#4456)
waynehamadi May 30, 2023
4c25fab
Update current score
Auto-GPT-Bot May 30, 2023
387f65c
Update submodule reference
Auto-GPT-Bot May 30, 2023
86b6231
ignore push if current score changed (#4482)
waynehamadi May 30, 2023
87776b2
Make the information retrieval challenge a harder while still passing…
waynehamadi May 30, 2023
f6ee61d
create debug challenge (#4286)
dschonholtz May 30, 2023
41df020
Update current score
Auto-GPT-Bot May 30, 2023
64973bf
Update submodule reference
Auto-GPT-Bot May 30, 2023
9e9b128
ignore cassettes and current score for all push events in github acti…
waynehamadi May 31, 2023
63b79a8
Adding support for openai_organization env variable (#289)
kaneda2004 May 31, 2023
3fffe65
Update bulletin for v0.4.0
Pwuts Jun 1, 2023
15c1573
Remove Redis memory configuration from docker-compose configs
Pwuts Jun 1, 2023
fc06886
Update BULLETIN.md
richbeales Jun 2, 2023
9156db4
Merge remote-tracking branch 'origin/stable' into release-0.4.0
Pwuts Jun 2, 2023
4cc6e27
Remove news about config (#4553)
waynehamadi Jun 2, 2023
ce44012
Fix pushing cassettes in CI
Pwuts Jun 2, 2023
4c11b21
Fix CI git authorization
Pwuts Jun 4, 2023
3e5868f
Fix CI git diff
Pwuts Jun 4, 2023
c4e2d8f
debug
Pwuts Jun 4, 2023
0a20fa4
Fix CI git authentication and cassettes
waynehamadi Jun 4, 2023
02846fc
remove information retrieval challenge b from beaten challenges
waynehamadi Jun 4, 2023
84e5805
Clean up CI git logic
Pwuts Jun 4, 2023
af28510
Fix `test_web_selenium` (#4554)
waynehamadi Jun 4, 2023
120fe76
Update bulletin with highlights for v0.4.0 release (#4576)
Pwuts Jun 4, 2023
3dbc377
Update version numbers for v0.4.0 release
Pwuts Jun 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"username": "vscode",
"userUid": "6942",
"userGid": "6942",
"userUid": "1000",
"userGid": "1000",
"upgradePackages": "true"
},
"ghcr.io/devcontainers/features/desktop-lite:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/python:1": "none",
"ghcr.io/devcontainers/features/node:1": "none",
"ghcr.io/devcontainers/features/git:1": {
Expand All @@ -25,8 +26,20 @@
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/usr/local/bin/python"
}
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false
},
"extensions": [
"ms-python.python",
"VisualStudioExptTeam.vscodeintellicode",
"ms-python.vscode-pylance",
"ms-python.black-formatter",
"ms-python.isort",
"GitHub.vscode-pull-request-github",
"GitHub.copilot",
"github.vscode-github-actions"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
Expand All @@ -36,5 +49,8 @@
// "postCreateCommand": "pip3 install --user -r requirements.txt",

// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
"remoteUser": "vscode",

// Add the freshly containerized repo to the list of safe repositories
"postCreateCommand": "git config --global --add safe.directory /workspace/Auto-GPT && pip3 install --user -r requirements.txt"
}
7 changes: 0 additions & 7 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@ version: '3.9'

services:
auto-gpt:
depends_on:
- redis
build:
dockerfile: .devcontainer/Dockerfile
context: ../
tty: true
environment:
MEMORY_BACKEND: ${MEMORY_BACKEND:-redis}
REDIS_HOST: ${REDIS_HOST:-redis}
volumes:
- ../:/workspace/Auto-GPT
redis:
image: 'redis/redis-stack-server:latest'
74 changes: 23 additions & 51 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@
## AI_SETTINGS_FILE - Specifies which AI Settings file to use (defaults to ai_settings.yaml)
# AI_SETTINGS_FILE=ai_settings.yaml

## PROMPT_SETTINGS_FILE - Specifies which Prompt Settings file to use (defaults to prompt_settings.yaml)
# PROMPT_SETTINGS_FILE=prompt_settings.yaml

## AUTHORISE COMMAND KEY - Key to authorise commands
# AUTHORISE_COMMAND_KEY=y
## EXIT_KEY - Key to exit AUTO-GPT
# EXIT_KEY=n

## PLAIN_OUTPUT - Enabeling plain output will disable spinner (Default: False)
## Note: Spinner is used to indicate that Auto-GPT is working on something in the background
# PLAIN_OUTPUT=False

## DISABLED_COMMAND_CATEGORIES - The list of categories of commands that are disabled. Each of the below are an option:
## autogpt.commands.analyze_code
## autogpt.commands.audio_text
Expand All @@ -27,14 +34,22 @@
## autogpt.commands.google_search
## autogpt.commands.image_gen
## autogpt.commands.improve_code
## autogpt.commands.twitter
## autogpt.commands.web_selenium
## autogpt.commands.write_tests
## autogpt.app
## autogpt.commands.task_statuses
## For example, to disable coding related features, uncomment the next line
# DISABLED_COMMAND_CATEGORIES=autogpt.commands.analyze_code,autogpt.commands.execute_code,autogpt.commands.git_operations,autogpt.commands.improve_code,autogpt.commands.write_tests

## DENY_COMMANDS - The list of commands that are not allowed to be executed by Auto-GPT (Default: None)
# the following are examples:
# DENY_COMMANDS=cd,nano,vim,vi,emacs,rm,sudo,top,ping,ssh,scp

## ALLOW_COMMANDS - ONLY those commands will be allowed to be executed by Auto-GPT
# the following are examples:
# ALLOW_COMMANDS=ls,git,cat,grep,find,echo,ps,curl,wget


################################################################################
### LLM PROVIDER
################################################################################
Expand All @@ -56,6 +71,7 @@
OPENAI_API_KEY=your-openai-api-key
# TEMPERATURE=0
# USE_AZURE=False
# OPENAI_ORGANIZATION=your-openai-organization-key-if-applicable

### AZURE
# moved to `azure.yaml.template`
Expand All @@ -78,30 +94,18 @@ OPENAI_API_KEY=your-openai-api-key

### EMBEDDINGS
## EMBEDDING_MODEL - Model to use for creating embeddings
## EMBEDDING_TOKENIZER - Tokenizer to use for chunking large inputs
## EMBEDDING_TOKEN_LIMIT - Chunk size limit for large inputs
# EMBEDDING_MODEL=text-embedding-ada-002
# EMBEDDING_TOKENIZER=cl100k_base
# EMBEDDING_TOKEN_LIMIT=8191

################################################################################
### MEMORY
################################################################################

### MEMORY_BACKEND - Memory backend type
## local - Default
## pinecone - Pinecone (if configured)
## json_file - Default
## redis - Redis (if configured)
## milvus - Milvus (if configured - also works with Zilliz)
## MEMORY_INDEX - Name of index created in Memory backend (Default: auto-gpt)
# MEMORY_BACKEND=local
# MEMORY_INDEX=auto-gpt

### PINECONE
## PINECONE_API_KEY - Pinecone API Key (Example: my-pinecone-api-key)
## PINECONE_ENV - Pinecone environment (region) (Example: us-west-2)
# PINECONE_API_KEY=your-pinecone-api-key
# PINECONE_ENV=your-pinecone-region
# MEMORY_BACKEND=json_file
# MEMORY_INDEX=auto-gpt-memory

### REDIS
## REDIS_HOST - Redis host (Default: localhost, use "redis" for docker-compose)
Expand All @@ -113,46 +117,14 @@ OPENAI_API_KEY=your-openai-api-key
# REDIS_PASSWORD=
# WIPE_REDIS_ON_START=True

### WEAVIATE
## MEMORY_BACKEND - Use 'weaviate' to use Weaviate vector storage
## WEAVIATE_HOST - Weaviate host IP
## WEAVIATE_PORT - Weaviate host port
## WEAVIATE_PROTOCOL - Weaviate host protocol (e.g. 'http')
## USE_WEAVIATE_EMBEDDED - Whether to use Embedded Weaviate
## WEAVIATE_EMBEDDED_PATH - File system path were to persist data when running Embedded Weaviate
## WEAVIATE_USERNAME - Weaviate username
## WEAVIATE_PASSWORD - Weaviate password
## WEAVIATE_API_KEY - Weaviate API key if using API-key-based authentication
# WEAVIATE_HOST="127.0.0.1"
# WEAVIATE_PORT=8080
# WEAVIATE_PROTOCOL="http"
# USE_WEAVIATE_EMBEDDED=False
# WEAVIATE_EMBEDDED_PATH="/home/me/.local/share/weaviate"
# WEAVIATE_USERNAME=
# WEAVIATE_PASSWORD=
# WEAVIATE_API_KEY=

### MILVUS
## MILVUS_ADDR - Milvus remote address (e.g. localhost:19530, https://xxx-xxxx.xxxx.xxxx.zillizcloud.com:443)
## MILVUS_USERNAME - username for your Milvus database
## MILVUS_PASSWORD - password for your Milvus database
## MILVUS_SECURE - True to enable TLS. (Default: False)
## Setting MILVUS_ADDR to a `https://` URL will override this setting.
## MILVUS_COLLECTION - Milvus collection, change it if you want to start a new memory and retain the old memory.
# MILVUS_ADDR=localhost:19530
# MILVUS_USERNAME=
# MILVUS_PASSWORD=
# MILVUS_SECURE=
# MILVUS_COLLECTION=autogpt

################################################################################
### IMAGE GENERATION PROVIDER
################################################################################

### OPEN AI
## IMAGE_PROVIDER - Image provider (Example: dalle)
### COMMON SETTINGS
## IMAGE_PROVIDER - Image provider - dalle, huggingface, or sdwebui
## IMAGE_SIZE - Image size (Example: 256)
## DALLE: 256, 512, 1024
## Image sizes for dalle: 256, 512, 1024
# IMAGE_PROVIDER=dalle
# IMAGE_SIZE=256

Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Exclude VCR cassettes from stats
tests/**/cassettes/**.y*ml linguist-generated
tests/Auto-GPT-test-cassettes/**/**.y*ml linguist-generated

# Mark documentation as such
docs/**.md linguist-documentation
Loading