diff --git a/autogpts/autogpt/.github/workflows/ci.yml b/.github/workflows/autogpt-ci.yml similarity index 95% rename from autogpts/autogpt/.github/workflows/ci.yml rename to .github/workflows/autogpt-ci.yml index 1914903e23..cfe5f9f824 100644 --- a/autogpts/autogpt/.github/workflows/ci.yml +++ b/.github/workflows/autogpt-ci.yml @@ -3,18 +3,23 @@ name: Python CI on: push: branches: [ master, ci-test* ] - paths-ignore: - - 'tests/Auto-GPT-test-cassettes' - - 'tests/challenges/current_score.json' + paths: + - 'autogpts/autogpt' + - '!autogpts/autogpt/tests/Auto-GPT-test-cassettes' + - '!autogpts/autogpt/tests/challenges/current_score.json' pull_request: branches: [ stable, master, release-* ] pull_request_target: branches: [ master, release-*, ci-test* ] concurrency: - group: ${{ format('ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }} + group: ${{ format('autogpt-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }} cancel-in-progress: ${{ startsWith(github.event_name, 'pull_request') }} +defaults: + run: + working-directory: autogpts/autogpt + jobs: lint: # eliminate duplicate runs @@ -258,4 +263,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: test-logs - path: logs/ + path: autogpts/autogpt/logs/ diff --git a/autogpts/autogpt/.github/workflows/docker-cache-clean.yml b/.github/workflows/autogpt-docker-cache-clean.yml similarity index 92% rename from autogpts/autogpt/.github/workflows/docker-cache-clean.yml rename to .github/workflows/autogpt-docker-cache-clean.yml index f3fc8c10b4..7d03ea6f49 100644 --- a/autogpts/autogpt/.github/workflows/docker-cache-clean.yml +++ b/.github/workflows/autogpt-docker-cache-clean.yml @@ -1,4 +1,4 @@ -name: Purge Docker CI cache +name: Purge Auto-GPT Docker CI cache on: schedule: @@ -28,7 +28,7 @@ jobs: build-args: BUILD_TYPE=${{ matrix.build-type }} load: true # save to docker images # use GHA cache as read-only - cache-to: type=gha,scope=docker-${{ matrix.build-type }},mode=max + cache-to: type=gha,scope=autogpt-docker-${{ matrix.build-type }},mode=max - name: Generate build report env: diff --git a/autogpts/autogpt/.github/workflows/docker-ci.yml b/.github/workflows/autogpt-docker-ci.yml similarity index 81% rename from autogpts/autogpt/.github/workflows/docker-ci.yml rename to .github/workflows/autogpt-docker-ci.yml index cbdd2f130b..ae0dc067ef 100644 --- a/autogpts/autogpt/.github/workflows/docker-ci.yml +++ b/.github/workflows/autogpt-docker-ci.yml @@ -1,18 +1,23 @@ -name: Docker CI +name: Auto-GPT Docker CI on: push: branches: [ master ] - paths-ignore: - - 'tests/Auto-GPT-test-cassettes' - - 'tests/challenges/current_score.json' + paths: + - 'autogpts/autogpt' + - '!autogpts/autogpt/tests/Auto-GPT-test-cassettes' + - '!autogpts/autogpt/tests/challenges/current_score.json' pull_request: branches: [ master, release-*, stable ] concurrency: - group: ${{ format('docker-ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }} + group: ${{ format('autogpt-docker-ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} +defaults: + run: + working-directory: autogpts/autogpt + env: IMAGE_NAME: auto-gpt @@ -38,12 +43,13 @@ jobs: name: Build image uses: docker/build-push-action@v3 with: + context: autogpts/autogpt build-args: BUILD_TYPE=${{ matrix.build-type }} tags: ${{ env.IMAGE_NAME }} load: true # save to docker images # cache layers in GitHub Actions cache to speed up builds - cache-from: type=gha,scope=docker-${{ matrix.build-type }} - cache-to: type=gha,scope=docker-${{ matrix.build-type }},mode=max + cache-from: type=gha,scope=autogpt-docker-${{ matrix.build-type }} + cache-to: type=gha,scope=autogpt-docker-${{ matrix.build-type }},mode=max - name: Generate build report env: @@ -71,6 +77,7 @@ jobs: vars_json: ${{ toJSON(vars) }} run: .github/workflows/scripts/docker-ci-summary.sh >> $GITHUB_STEP_SUMMARY + working-directory: ./ continue-on-error: true test: @@ -89,12 +96,13 @@ jobs: name: Build image uses: docker/build-push-action@v3 with: + context: autogpts/autogpt build-args: BUILD_TYPE=dev # include pytest tags: ${{ env.IMAGE_NAME }} load: true # save to docker images # cache layers in GitHub Actions cache to speed up builds - cache-from: type=gha,scope=docker-dev - cache-to: type=gha,scope=docker-dev,mode=max + cache-from: type=gha,scope=autogpt-docker-dev + cache-to: type=gha,scope=autogpt-docker-dev,mode=max - id: test name: Run tests diff --git a/autogpts/autogpt/.github/workflows/docker-release.yml b/.github/workflows/autogpt-docker-release.yml similarity index 91% rename from autogpts/autogpt/.github/workflows/docker-release.yml rename to .github/workflows/autogpt-docker-release.yml index e066641f04..47dec2b615 100644 --- a/autogpts/autogpt/.github/workflows/docker-release.yml +++ b/.github/workflows/autogpt-docker-release.yml @@ -1,4 +1,4 @@ -name: Docker Release +name: Auto-GPT Docker Release on: release: @@ -10,6 +10,10 @@ on: type: boolean description: 'Build from scratch, without using cached layers' +defaults: + run: + working-directory: autogpts/autogpt + env: IMAGE_NAME: auto-gpt DEPLOY_IMAGE_NAME: ${{ secrets.DOCKER_USER }}/auto-gpt @@ -41,6 +45,7 @@ jobs: name: Build image uses: docker/build-push-action@v3 with: + context: autogpts/autogpt build-args: BUILD_TYPE=release load: true # save to docker images # push: true # TODO: uncomment when this issue is fixed: https://github.com/moby/buildkit/issues/1555 @@ -50,8 +55,8 @@ jobs: ${{ env.DEPLOY_IMAGE_NAME }}:${{ steps.sanitize_tag.outputs.tag }} # cache layers in GitHub Actions cache to speed up builds - cache-from: ${{ !inputs.no_cache && 'type=gha' || '' }},scope=docker-release - cache-to: type=gha,scope=docker-release,mode=max + cache-from: ${{ !inputs.no_cache && 'type=gha' || '' }},scope=autogpt-docker-release + cache-to: type=gha,scope=autogpt-docker-release,mode=max - name: Push image to Docker Hub run: docker push --all-tags ${{ env.DEPLOY_IMAGE_NAME }} @@ -78,4 +83,5 @@ jobs: vars_json: ${{ toJSON(vars) }} run: .github/workflows/scripts/docker-release-summary.sh >> $GITHUB_STEP_SUMMARY + working-directory: ./ continue-on-error: true diff --git a/autogpts/autogpt/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml similarity index 100% rename from autogpts/autogpt/.github/workflows/benchmarks.yml rename to .github/workflows/benchmarks.yml diff --git a/autogpts/autogpt/.github/workflows/pr-label.yml b/.github/workflows/pr-label.yml similarity index 94% rename from autogpts/autogpt/.github/workflows/pr-label.yml rename to .github/workflows/pr-label.yml index ebeb7305ed..70d15cb5dc 100644 --- a/autogpts/autogpt/.github/workflows/pr-label.yml +++ b/.github/workflows/pr-label.yml @@ -5,8 +5,8 @@ on: push: branches: [ master, release-* ] paths-ignore: - - 'tests/Auto-GPT-test-cassettes' - - 'tests/challenges/current_score.json' + - 'autogpts/autogpt/tests/Auto-GPT-test-cassettes' + - 'autogpts/autogpt/tests/challenges/current_score.json' # So that the `dirtyLabel` is removed if conflicts are resolve # We recommend `pull_request_target` so that github secrets are available. # In `pull_request` we wouldn't be able to change labels of fork PRs diff --git a/autogpts/autogpt/.github/workflows/scripts/docker-ci-summary.sh b/.github/workflows/scripts/docker-ci-summary.sh similarity index 100% rename from autogpts/autogpt/.github/workflows/scripts/docker-ci-summary.sh rename to .github/workflows/scripts/docker-ci-summary.sh diff --git a/autogpts/autogpt/.github/workflows/scripts/docker-release-summary.sh b/.github/workflows/scripts/docker-release-summary.sh similarity index 100% rename from autogpts/autogpt/.github/workflows/scripts/docker-release-summary.sh rename to .github/workflows/scripts/docker-release-summary.sh diff --git a/autogpts/autogpt/CONTRIBUTING.md b/CONTRIBUTING.md similarity index 100% rename from autogpts/autogpt/CONTRIBUTING.md rename to CONTRIBUTING.md diff --git a/autogpts/autogpt/.github/FUNDING.yml b/autogpts/autogpt/.github/FUNDING.yml deleted file mode 100644 index 54ef10844f..0000000000 --- a/autogpts/autogpt/.github/FUNDING.yml +++ /dev/null @@ -1,3 +0,0 @@ -# These are supported funding model platforms - -github: Torantulino diff --git a/autogpts/autogpt/.github/ISSUE_TEMPLATE/1.bug.yml b/autogpts/autogpt/.github/ISSUE_TEMPLATE/1.bug.yml deleted file mode 100644 index 53c7f9da07..0000000000 --- a/autogpts/autogpt/.github/ISSUE_TEMPLATE/1.bug.yml +++ /dev/null @@ -1,164 +0,0 @@ -name: Bug report 🐛 -description: Create a bug report for Auto-GPT. -labels: ['status: needs triage'] -body: - - type: markdown - attributes: - value: | - ### ⚠️ Before you continue - * Check out our [backlog], [roadmap] and join our [discord] to discuss what's going on - * If you need help, you can ask in the [discussions] section or in [#tech-support] - * **Thoroughly search the [existing issues] before creating a new one** - * Read our [wiki page on Contributing] - [backlog]: https://github.com/orgs/Significant-Gravitas/projects/1 - [roadmap]: https://github.com/orgs/Significant-Gravitas/projects/2 - [discord]: https://discord.gg/autogpt - [discussions]: https://github.com/Significant-Gravitas/Auto-GPT/discussions - [#tech-support]: https://discord.com/channels/1092243196446249134/1092275629602394184 - [existing issues]: https://github.com/Significant-Gravitas/Auto-GPT/issues?q=is%3Aissue - [wiki page on Contributing]: https://github.com/Significant-Gravitas/Nexus/wiki/Contributing - - - type: checkboxes - attributes: - label: ⚠️ Search for existing issues first ⚠️ - description: > - Please [search the history](https://github.com/Torantulino/Auto-GPT/issues) - to see if an issue already exists for the same problem. - options: - - label: I have searched the existing issues, and there is no existing issue for my problem - required: true - - - type: markdown - attributes: - value: | - Please confirm that the issue you have is described well and precise in the title above ⬆️. - A good rule of thumb: What would you type if you were searching for the issue? - - For example: - BAD - my auto-gpt keeps looping - GOOD - After performing execute_python_file, auto-gpt goes into a loop where it keeps trying to execute the file. - - ⚠️ SUPER-busy repo, please help the volunteer maintainers. - The less time we spend here, the more time we can spend building AutoGPT. - - Please help us help you by following these steps: - - Search for existing issues, adding a comment when you have the same or similar issue is tidier than "new issue" and - newer issues will not be reviewed earlier, this is dependent on the current priorities set by our wonderful team - - Ask on our Discord if your issue is known when you are unsure (https://discord.gg/autogpt) - - Provide relevant info: - - Provide commit-hash (`git rev-parse HEAD` gets it) if possible - - If it's a pip/packages issue, mention this in the title and provide pip version, python version - - If it's a crash, provide traceback and describe the error you got as precise as possible in the title. - - - type: dropdown - attributes: - label: Which Operating System are you using? - description: > - Please select the operating system you were using to run Auto-GPT when this problem occurred. - options: - - Windows - - Linux - - MacOS - - Docker - - Devcontainer / Codespace - - Windows Subsystem for Linux (WSL) - - Other - validations: - required: true - nested_fields: - - type: text - attributes: - label: Specify the system - description: Please specify the system you are working on. - - - type: dropdown - attributes: - label: Which version of Auto-GPT are you using? - description: | - Please select which version of Auto-GPT you were using when this issue occurred. - 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. - **If you weren't please try with the [latest code](https://github.com/Significant-Gravitas/Auto-GPT/releases/)**. - If installed with git you can run `git branch` to see which version of Auto-GPT you are running. - options: - - Latest Release - - Stable (branch) - - Master (branch) - validations: - required: true - - - type: dropdown - attributes: - label: Do you use OpenAI GPT-3 or GPT-4? - description: > - If you are using Auto-GPT with `--gpt3only`, your problems may be caused by - the [limitations](https://github.com/Significant-Gravitas/Auto-GPT/issues?q=is%3Aissue+label%3A%22AI+model+limitation%22) of GPT-3.5. - options: - - GPT-3.5 - - GPT-4 - - GPT-4(32k) - validations: - required: true - - - type: dropdown - attributes: - label: Which area covers your issue best? - description: > - Select the area related to the issue you are reporting. - options: - - Installation and setup - - Memory - - Performance - - Prompt - - Commands - - Plugins - - AI Model Limitations - - Challenges - - Documentation - - Logging - - Agents - - Other - validations: - required: true - autolabels: true - nested_fields: - - type: text - attributes: - label: Specify the area - description: Please specify the area you think is best related to the issue. - - - type: textarea - attributes: - label: Describe your issue. - description: Describe the problem you are experiencing. Try to describe only the issue and phrase it short but clear. ⚠️ Provide NO other data in this field - validations: - required: true - - #Following are optional file content uploads - - type: markdown - attributes: - value: | - ⚠️The following is OPTIONAL, please keep in mind that the log files may contain personal information such as credentials.⚠️ - - "The log files are located in the folder 'logs' inside the main auto-gpt folder." - - - type: textarea - attributes: - label: Upload Activity Log Content - description: | - Upload the activity log content, this can help us understand the issue better. - To do this, go to the folder logs in your main auto-gpt folder, open activity.log and copy/paste the contents to this field. - ⚠️ The activity log may contain personal data given to auto-gpt by you in prompt or input as well as - any personal information that auto-gpt collected out of files during last run. Do not add the activity log if you are not comfortable with sharing it. ⚠️ - validations: - required: false - - - type: textarea - attributes: - label: Upload Error Log Content - description: | - Upload the error log content, this will help us understand the issue better. - To do this, go to the folder logs in your main auto-gpt folder, open error.log and copy/paste the contents to this field. - ⚠️ The error log may contain personal data given to auto-gpt by you in prompt or input as well as - any personal information that auto-gpt collected out of files during last run. Do not add the activity log if you are not comfortable with sharing it. ⚠️ - validations: - required: false diff --git a/autogpts/autogpt/.github/ISSUE_TEMPLATE/2.feature.yml b/autogpts/autogpt/.github/ISSUE_TEMPLATE/2.feature.yml deleted file mode 100644 index ea6733a194..0000000000 --- a/autogpts/autogpt/.github/ISSUE_TEMPLATE/2.feature.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Feature request 🚀 -description: Suggest a new idea for Auto-GPT! -labels: ['status: needs triage'] -body: - - type: markdown - attributes: - value: | - First, check out our [wiki page on Contributing](https://github.com/Significant-Gravitas/Nexus/wiki/Contributing) - Please provide a searchable summary of the issue in the title above ⬆️. - - type: checkboxes - attributes: - label: Duplicates - description: Please [search the history](https://github.com/Torantulino/Auto-GPT/issues) to see if an issue already exists for the same problem. - options: - - label: I have searched the existing issues - required: true - - type: textarea - attributes: - label: Summary 💡 - description: Describe how it should work. - - type: textarea - attributes: - label: Examples 🌈 - description: Provide a link to other implementations, or screenshots of the expected behavior. - - type: textarea - attributes: - label: Motivation 🔦 - description: What are you trying to accomplish? How has the lack of this feature affected you? Providing context helps us come up with a solution that is more useful in the real world. diff --git a/autogpts/autogpt/.github/PULL_REQUEST_TEMPLATE.md b/autogpts/autogpt/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index efb6786881..0000000000 --- a/autogpts/autogpt/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,49 +0,0 @@ - - - - -### Background - - -### Changes - - -### Documentation - - -### Test Plan - - -### PR Quality Checklist -- [ ] My pull request is atomic and focuses on a single change. -- [ ] I have thoroughly tested my changes with multiple different prompts. -- [ ] I have considered potential risks and mitigations for my changes. -- [ ] I have documented my changes clearly and comprehensively. -- [ ] I have not snuck in any "extra" small tweaks changes. -- [ ] I have run the following commands against my code to ensure it passes our linters: - ```shell - black . - isort . - mypy - autoflake --remove-all-unused-imports --recursive --ignore-init-module-imports --ignore-pass-after-docstring autogpt tests --in-place - ``` - - - - diff --git a/autogpts/autogpt/.github/workflows/documentation-release.yml b/autogpts/autogpt/.github/workflows/documentation-release.yml deleted file mode 100644 index ef97e1e435..0000000000 --- a/autogpts/autogpt/.github/workflows/documentation-release.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Docs - -on: - push: - branches: [ stable ] - paths: - - 'docs/**' - - 'mkdocs.yml' - - '.github/workflows/documentation.yml' - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -permissions: - contents: write - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up Python 3 - uses: actions/setup-python@v4 - with: - python-version: 3.x - - - name: Set up workflow cache - uses: actions/cache@v3 - with: - key: ${{ github.ref }} - path: .cache - - - run: pip install mkdocs-material - - - run: mkdocs gh-deploy --force diff --git a/autogpts/autogpt/docs/index.md b/autogpts/autogpt/docs/index.md deleted file mode 100644 index 33e1c7802d..0000000000 --- a/autogpts/autogpt/docs/index.md +++ /dev/null @@ -1,7 +0,0 @@ -# Auto-GPT - -Welcome to Auto-GPT. Please follow the [Installation](/setup/) guide to get started. - -NOTE: It is recommended to use a virtual machine/container (docker) for tasks that require high security measures to prevent any potential harm to the main computer's system and data. If you are considering to use Auto-GPT outside a virtualized/containerized environment, you are *strongly* advised to use a separate user account just for running Auto-GPT. This is even more important if you are going to allow Auto-GPT to write/execute scripts and run shell commands! - -It is for these reasons that executing python scripts is explicitly disabled when running outside a container environment. diff --git a/autogpts/autogpt/docs/_javascript/mathjax.js b/docs/_javascript/mathjax.js similarity index 100% rename from autogpts/autogpt/docs/_javascript/mathjax.js rename to docs/_javascript/mathjax.js diff --git a/autogpts/autogpt/docs/_javascript/tablesort.js b/docs/_javascript/tablesort.js similarity index 100% rename from autogpts/autogpt/docs/_javascript/tablesort.js rename to docs/_javascript/tablesort.js diff --git a/autogpts/autogpt/docs/challenges/beat.md b/docs/challenges/beat.md similarity index 100% rename from autogpts/autogpt/docs/challenges/beat.md rename to docs/challenges/beat.md diff --git a/autogpts/autogpt/docs/challenges/building_challenges.md b/docs/challenges/building_challenges.md similarity index 100% rename from autogpts/autogpt/docs/challenges/building_challenges.md rename to docs/challenges/building_challenges.md diff --git a/autogpts/autogpt/docs/challenges/challenge_template.md b/docs/challenges/challenge_template.md similarity index 100% rename from autogpts/autogpt/docs/challenges/challenge_template.md rename to docs/challenges/challenge_template.md diff --git a/autogpts/autogpt/docs/challenges/information_retrieval/challenge_a.md b/docs/challenges/information_retrieval/challenge_a.md similarity index 100% rename from autogpts/autogpt/docs/challenges/information_retrieval/challenge_a.md rename to docs/challenges/information_retrieval/challenge_a.md diff --git a/autogpts/autogpt/docs/challenges/information_retrieval/challenge_b.md b/docs/challenges/information_retrieval/challenge_b.md similarity index 100% rename from autogpts/autogpt/docs/challenges/information_retrieval/challenge_b.md rename to docs/challenges/information_retrieval/challenge_b.md diff --git a/autogpts/autogpt/docs/challenges/information_retrieval/introduction.md b/docs/challenges/information_retrieval/introduction.md similarity index 100% rename from autogpts/autogpt/docs/challenges/information_retrieval/introduction.md rename to docs/challenges/information_retrieval/introduction.md diff --git a/autogpts/autogpt/docs/challenges/introduction.md b/docs/challenges/introduction.md similarity index 100% rename from autogpts/autogpt/docs/challenges/introduction.md rename to docs/challenges/introduction.md diff --git a/autogpts/autogpt/docs/challenges/list.md b/docs/challenges/list.md similarity index 100% rename from autogpts/autogpt/docs/challenges/list.md rename to docs/challenges/list.md diff --git a/autogpts/autogpt/docs/challenges/memory/challenge_a.md b/docs/challenges/memory/challenge_a.md similarity index 100% rename from autogpts/autogpt/docs/challenges/memory/challenge_a.md rename to docs/challenges/memory/challenge_a.md diff --git a/autogpts/autogpt/docs/challenges/memory/challenge_b.md b/docs/challenges/memory/challenge_b.md similarity index 100% rename from autogpts/autogpt/docs/challenges/memory/challenge_b.md rename to docs/challenges/memory/challenge_b.md diff --git a/autogpts/autogpt/docs/challenges/memory/challenge_c.md b/docs/challenges/memory/challenge_c.md similarity index 100% rename from autogpts/autogpt/docs/challenges/memory/challenge_c.md rename to docs/challenges/memory/challenge_c.md diff --git a/autogpts/autogpt/docs/challenges/memory/challenge_d.md b/docs/challenges/memory/challenge_d.md similarity index 100% rename from autogpts/autogpt/docs/challenges/memory/challenge_d.md rename to docs/challenges/memory/challenge_d.md diff --git a/autogpts/autogpt/docs/challenges/memory/introduction.md b/docs/challenges/memory/introduction.md similarity index 100% rename from autogpts/autogpt/docs/challenges/memory/introduction.md rename to docs/challenges/memory/introduction.md diff --git a/autogpts/autogpt/docs/challenges/submit.md b/docs/challenges/submit.md similarity index 100% rename from autogpts/autogpt/docs/challenges/submit.md rename to docs/challenges/submit.md diff --git a/autogpts/autogpt/docs/code-of-conduct.md b/docs/code-of-conduct.md similarity index 100% rename from autogpts/autogpt/docs/code-of-conduct.md rename to docs/code-of-conduct.md diff --git a/autogpts/autogpt/docs/configuration/imagegen.md b/docs/configuration/imagegen.md similarity index 100% rename from autogpts/autogpt/docs/configuration/imagegen.md rename to docs/configuration/imagegen.md diff --git a/autogpts/autogpt/docs/configuration/memory.md b/docs/configuration/memory.md similarity index 100% rename from autogpts/autogpt/docs/configuration/memory.md rename to docs/configuration/memory.md diff --git a/autogpts/autogpt/docs/configuration/options.md b/docs/configuration/options.md similarity index 100% rename from autogpts/autogpt/docs/configuration/options.md rename to docs/configuration/options.md diff --git a/autogpts/autogpt/docs/configuration/search.md b/docs/configuration/search.md similarity index 100% rename from autogpts/autogpt/docs/configuration/search.md rename to docs/configuration/search.md diff --git a/autogpts/autogpt/docs/configuration/voice.md b/docs/configuration/voice.md similarity index 100% rename from autogpts/autogpt/docs/configuration/voice.md rename to docs/configuration/voice.md diff --git a/autogpts/autogpt/docs/contributing.md b/docs/contributing.md similarity index 100% rename from autogpts/autogpt/docs/contributing.md rename to docs/contributing.md diff --git a/autogpts/autogpt/docs/imgs/Auto_GPT_Logo.png b/docs/imgs/Auto_GPT_Logo.png similarity index 100% rename from autogpts/autogpt/docs/imgs/Auto_GPT_Logo.png rename to docs/imgs/Auto_GPT_Logo.png diff --git a/autogpts/autogpt/docs/imgs/e2b-dashboard.png b/docs/imgs/e2b-dashboard.png similarity index 100% rename from autogpts/autogpt/docs/imgs/e2b-dashboard.png rename to docs/imgs/e2b-dashboard.png diff --git a/autogpts/autogpt/docs/imgs/e2b-log-url.png b/docs/imgs/e2b-log-url.png similarity index 100% rename from autogpts/autogpt/docs/imgs/e2b-log-url.png rename to docs/imgs/e2b-log-url.png diff --git a/autogpts/autogpt/docs/imgs/e2b-new-tag.png b/docs/imgs/e2b-new-tag.png similarity index 100% rename from autogpts/autogpt/docs/imgs/e2b-new-tag.png rename to docs/imgs/e2b-new-tag.png diff --git a/autogpts/autogpt/docs/imgs/e2b-tag-button.png b/docs/imgs/e2b-tag-button.png similarity index 100% rename from autogpts/autogpt/docs/imgs/e2b-tag-button.png rename to docs/imgs/e2b-tag-button.png diff --git a/autogpts/autogpt/docs/imgs/openai-api-key-billing-paid-account.png b/docs/imgs/openai-api-key-billing-paid-account.png similarity index 100% rename from autogpts/autogpt/docs/imgs/openai-api-key-billing-paid-account.png rename to docs/imgs/openai-api-key-billing-paid-account.png diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000000..06cc93773e --- /dev/null +++ b/docs/index.md @@ -0,0 +1,8 @@ +# AutoGPT docs + +Welcome to AutoGPT. Please follow the [Installation](/setup/) guide to get started. + +!!! note + It is recommended to use a virtual machine/container (docker) for tasks that require high security measures to prevent any potential harm to the main computer's system and data. If you are considering to use Auto-GPT outside a virtualized/containerized environment, you are *strongly* advised to use a separate user account just for running Auto-GPT. This is even more important if you are going to allow Auto-GPT to write/execute scripts and run shell commands! + +It is for these reasons that executing python scripts is explicitly disabled when running outside a container environment. diff --git a/autogpts/autogpt/mkdocs.yml b/docs/mkdocs.yml similarity index 98% rename from autogpts/autogpt/mkdocs.yml rename to docs/mkdocs.yml index 0a9bb9e12d..9c34ded276 100644 --- a/autogpts/autogpt/mkdocs.yml +++ b/docs/mkdocs.yml @@ -1,6 +1,7 @@ -site_name: Auto-GPT +site_name: AutoGPT Documentation site_url: https://docs.agpt.co/ repo_url: https://github.com/Significant-Gravitas/Auto-GPT +docs_dir: . nav: - Home: index.md - Setup: setup.md diff --git a/autogpts/autogpt/netlify.toml b/docs/netlify.toml similarity index 100% rename from autogpts/autogpt/netlify.toml rename to docs/netlify.toml diff --git a/autogpts/autogpt/docs/plugins.md b/docs/plugins.md similarity index 100% rename from autogpts/autogpt/docs/plugins.md rename to docs/plugins.md diff --git a/autogpts/autogpt/docs/setup.md b/docs/setup.md similarity index 100% rename from autogpts/autogpt/docs/setup.md rename to docs/setup.md diff --git a/autogpts/autogpt/docs/share-your-logs.md b/docs/share-your-logs.md similarity index 100% rename from autogpts/autogpt/docs/share-your-logs.md rename to docs/share-your-logs.md diff --git a/autogpts/autogpt/docs/testing.md b/docs/testing.md similarity index 100% rename from autogpts/autogpt/docs/testing.md rename to docs/testing.md diff --git a/autogpts/autogpt/docs/usage.md b/docs/usage.md similarity index 100% rename from autogpts/autogpt/docs/usage.md rename to docs/usage.md