Skip to content

Commit d8f5cdb

Browse files
authored
Release v0.3.0 (#3683)
2 parents 91537b0 + 6e5ddeb commit d8f5cdb

File tree

195 files changed

+14045
-2626
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+14045
-2626
lines changed

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
relative_files = true

.devcontainer/Dockerfile

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,13 @@
1-
# [Choice] Python version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.10, 3-bullseye, 3.10-bullseye, 3-buster, 3.10-buster
2-
ARG VARIANT=3-bullseye
3-
FROM --platform=linux/amd64 python:3.10
1+
# Use an official Python base image from the Docker Hub
2+
FROM python:3.10
43

5-
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
6-
# Remove imagemagick due to https://security-tracker.debian.org/tracker/CVE-2019-10131
7-
&& apt-get purge -y imagemagick imagemagick-6-common
4+
# Install browsers
5+
RUN apt-get update && apt-get install -y \
6+
chromium-driver firefox-esr \
7+
ca-certificates
88

9-
# Temporary: Upgrade python packages due to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40897
10-
# They are installed by the base image (python) which does not have the patch.
11-
RUN python3 -m pip install --upgrade setuptools
9+
# Install utilities
10+
RUN apt-get install -y curl jq wget git
1211

13-
# Install Chrome for web browsing
14-
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
15-
&& curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_$(dpkg --print-architecture).deb -o /tmp/chrome.deb \
16-
&& apt-get -y install /tmp/chrome.deb
17-
18-
# [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
19-
# COPY requirements.txt /tmp/pip-tmp/
20-
# RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
21-
# && rm -rf /tmp/pip-tmp
22-
23-
# [Optional] Uncomment this section to install additional OS packages.
24-
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
25-
# && apt-get -y install --no-install-recommends <your-package-list-here>
26-
27-
# [Optional] Uncomment this line to install global node packages.
28-
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
12+
# Declare working directory
13+
WORKDIR /workspace/Auto-GPT

.devcontainer/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"build": {
3-
"dockerfile": "./Dockerfile",
4-
"context": "."
5-
},
2+
"dockerComposeFile": "./docker-compose.yml",
3+
"service": "auto-gpt",
4+
"workspaceFolder": "/workspace/Auto-GPT",
5+
"shutdownAction": "stopCompose",
66
"features": {
77
"ghcr.io/devcontainers/features/common-utils:2": {
88
"installZsh": "true",
99
"username": "vscode",
10-
"userUid": "1000",
11-
"userGid": "1000",
10+
"userUid": "6942",
11+
"userGid": "6942",
1212
"upgradePackages": "true"
1313
},
1414
"ghcr.io/devcontainers/features/desktop-lite:1": {},

.devcontainer/docker-compose.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# To boot the app run the following:
2+
# docker-compose run auto-gpt
3+
version: '3.9'
4+
5+
services:
6+
auto-gpt:
7+
depends_on:
8+
- redis
9+
build:
10+
dockerfile: .devcontainer/Dockerfile
11+
context: ../
12+
tty: true
13+
environment:
14+
MEMORY_BACKEND: ${MEMORY_BACKEND:-redis}
15+
REDIS_HOST: ${REDIS_HOST:-redis}
16+
volumes:
17+
- ../:/workspace/Auto-GPT
18+
redis:
19+
image: 'redis/redis-stack-server:latest'

.dockerignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.*
2+
*.template
3+
*.yaml
4+
*.yml
5+
6+
*.md
7+
*.png
8+
!BULLETIN.md

.env.template

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
## AI_SETTINGS_FILE - Specifies which AI Settings file to use (defaults to ai_settings.yaml)
1414
# AI_SETTINGS_FILE=ai_settings.yaml
1515

16+
## AUTHORISE COMMAND KEY - Key to authorise commands
17+
# AUTHORISE_COMMAND_KEY=y
18+
## EXIT_KEY - Key to exit AUTO-GPT
19+
# EXIT_KEY=n
20+
1621
################################################################################
1722
### LLM PROVIDER
1823
################################################################################
@@ -44,6 +49,14 @@ OPENAI_API_KEY=your-openai-api-key
4449
# FAST_TOKEN_LIMIT=4000
4550
# SMART_TOKEN_LIMIT=8000
4651

52+
### EMBEDDINGS
53+
## EMBEDDING_MODEL - Model to use for creating embeddings
54+
## EMBEDDING_TOKENIZER - Tokenizer to use for chunking large inputs
55+
## EMBEDDING_TOKEN_LIMIT - Chunk size limit for large inputs
56+
# EMBEDDING_MODEL=text-embedding-ada-002
57+
# EMBEDDING_TOKENIZER=cl100k_base
58+
# EMBEDDING_TOKEN_LIMIT=8191
59+
4760
################################################################################
4861
### MEMORY
4962
################################################################################
@@ -52,7 +65,7 @@ OPENAI_API_KEY=your-openai-api-key
5265
## local - Default
5366
## pinecone - Pinecone (if configured)
5467
## redis - Redis (if configured)
55-
## milvus - Milvus (if configured)
68+
## milvus - Milvus (if configured - also works with Zilliz)
5669
## MEMORY_INDEX - Name of index created in Memory backend (Default: auto-gpt)
5770
# MEMORY_BACKEND=local
5871
# MEMORY_INDEX=auto-gpt
@@ -93,10 +106,16 @@ OPENAI_API_KEY=your-openai-api-key
93106
# WEAVIATE_API_KEY=
94107

95108
### MILVUS
96-
## MILVUS_ADDR - Milvus remote address (e.g. localhost:19530)
97-
## MILVUS_COLLECTION - Milvus collection,
98-
## change it if you want to start a new memory and retain the old memory.
99-
# MILVUS_ADDR=your-milvus-cluster-host-port
109+
## MILVUS_ADDR - Milvus remote address (e.g. localhost:19530, https://xxx-xxxx.xxxx.xxxx.zillizcloud.com:443)
110+
## MILVUS_USERNAME - username for your Milvus database
111+
## MILVUS_PASSWORD - password for your Milvus database
112+
## MILVUS_SECURE - True to enable TLS. (Default: False)
113+
## Setting MILVUS_ADDR to a `https://` URL will override this setting.
114+
## MILVUS_COLLECTION - Milvus collection, change it if you want to start a new memory and retain the old memory.
115+
# MILVUS_ADDR=localhost:19530
116+
# MILVUS_USERNAME=
117+
# MILVUS_PASSWORD=
118+
# MILVUS_SECURE=
100119
# MILVUS_COLLECTION=autogpt
101120

102121
################################################################################
@@ -188,3 +207,16 @@ OPENAI_API_KEY=your-openai-api-key
188207
# TW_CONSUMER_SECRET=
189208
# TW_ACCESS_TOKEN=
190209
# TW_ACCESS_TOKEN_SECRET=
210+
211+
################################################################################
212+
### ALLOWLISTED PLUGINS
213+
################################################################################
214+
215+
#ALLOWLISTED_PLUGINS - Sets the listed plugins that are allowed (Example: plugin1,plugin2,plugin3)
216+
ALLOWLISTED_PLUGINS=
217+
218+
################################################################################
219+
### CHAT PLUGIN SETTINGS
220+
################################################################################
221+
# CHAT_MESSAGES_ENABLED - Enable chat messages (Default: False)
222+
# CHAT_MESSAGES_ENABLED=False

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Exclude VCR cassettes from stats
2+
tests/**/cassettes/**.y*ml linguist-generated
3+
4+
# Mark documentation as such
5+
docs/**.md linguist-documentation

.github/ISSUE_TEMPLATE/1.bug.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,20 @@ body:
5757
- Other (Please specify in your problem)
5858
validations:
5959
required: true
60+
- type: dropdown
61+
attributes:
62+
label: Which version of Auto-GPT are you using?
63+
description: |
64+
Please select which version of Auto-GPT you were using when this issue occurred.
65+
If you downloaded the code from the [releases page](https://github.com/Significant-Gravitas/Auto-GPT/releases/) make sure you were using the latest code.
66+
**If you weren't please try with the [latest code](https://github.com/Significant-Gravitas/Auto-GPT/releases/)**.
67+
If installed with git you can run `git branch` to see which version of Auto-GPT you are running.
68+
options:
69+
- Latest Release
70+
- Stable (branch)
71+
- Master (branch)
72+
validations:
73+
required: true
6074
- type: dropdown
6175
attributes:
6276
label: GPT-3 or GPT-4?

.github/workflows/auto_format.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/benchmark.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)