Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

chore(platform): Tidy up repo structure (#8521)

Swifty4d4cc60071b0
diff --git a/autogpt_platform/backend/secrets/.gitkeep b/autogpt_platform/backend/secrets/.gitkeep
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/autogpt_platform/example_files/index.html b/autogpt_platform/example_files/index.html
deleted file mode 100644
index 0c3c960b18..0000000000
--- a/autogpt_platform/example_files/index.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <title>Example Files</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
-</head>
-
-<body>
- <h1>Example Files</h1>
- <ul>
- <li><a href="example1.txt">Example 1</a></li>
- <li><a href="example2.txt">Example 2</a></li>
- <li><a href="example3.txt">Example 3</a></li>
- </ul>
-</body>
-
-</html>
\ No newline at end of file
diff --git a/autogpt_platform/frontend/.env.development b/autogpt_platform/frontend/.env.development
deleted file mode 100644
index 655d3ec2de..0000000000
--- a/autogpt_platform/frontend/.env.development
+++ /dev/null
@@ -1,7 +0,0 @@
-NEXT_PUBLIC_AUTH_CALLBACK_URL=https://dev-server.agpt.co/auth/callback
-NEXT_PUBLIC_AGPT_SERVER_URL=https://dev-server.agpt.co/api
-NEXT_PUBLIC_AGPT_WS_SERVER_URL=wss://dev-ws-server.agpt.co/ws
-NEXT_PUBLIC_AGPT_MARKETPLACE_URL=https://dev-market.agpt.co/api/v1/market
-NEXT_PUBLIC_SUPABASE_ANON_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImFkZmp0ZXh0a3VpbHd1aHpkanBmIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MzAyNTE3MDIsImV4cCI6MjA0NTgyNzcwMn0.IuQNXsHEKJNxtS9nyFeqO0BGMYN8sPiObQhuJLSK9xk"
-NEXT_PUBLIC_SUPABASE_URL="https://adfjtextkuilwuhzdjpf.supabase.co"
-NEXT_PUBLIC_BEHAVE_AS=CLOUD
\ No newline at end of file
diff --git a/autogpt_platform/frontend/.env.production b/autogpt_platform/frontend/.env.production
deleted file mode 100644
index 4efcc057a7..0000000000
--- a/autogpt_platform/frontend/.env.production
+++ /dev/null
@@ -1,8 +0,0 @@
-APP_ENV=production
-NEXT_PUBLIC_AGPT_MARKETPLACE_URL=https://market.agpt.co/api/v1/market
-NEXT_PUBLIC_AGPT_SERVER_URL=https://backend.agpt.co/api
-NEXT_PUBLIC_AGPT_WS_SERVER_URL=wss://ws-backend.agpt.co/ws
-NEXT_PUBLIC_AUTH_CALLBACK_URL=https://backend.agpt.co/auth/callback
-NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImJnd3B3ZHN4YmxyeWloaW51dGJ4Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MzAyODYzMDUsImV4cCI6MjA0NTg2MjMwNX0.ISa2IofTdQIJmmX5JwKGGNajqjsD8bjaGBzK90SubE0
-NEXT_PUBLIC_SUPABASE_URL=https://bgwpwdsxblryihinutbx.supabase.co
-NEXT_PUBLIC_BEHAVE_AS=CLOUD
\ No newline at end of file
diff --git a/autogpt_platform/backend/graph_templates/Discord Bot Chat To LLM_v5.json b/autogpt_platform/graph_templates/Discord Bot Chat To LLM_v5.json
similarity index 100%
rename from autogpt_platform/backend/graph_templates/Discord Bot Chat To LLM_v5.json
rename to autogpt_platform/graph_templates/Discord Bot Chat To LLM_v5.json
diff --git a/autogpt_platform/backend/graph_templates/Discord Chatbot with History_v145.json b/autogpt_platform/graph_templates/Discord Chatbot with History_v145.json
similarity index 100%
rename from autogpt_platform/backend/graph_templates/Discord Chatbot with History_v145.json
rename to autogpt_platform/graph_templates/Discord Chatbot with History_v145.json
diff --git a/autogpt_platform/backend/graph_templates/Discord Search Bot_v17.json b/autogpt_platform/graph_templates/Discord Search Bot_v17.json
similarity index 100%
rename from autogpt_platform/backend/graph_templates/Discord Search Bot_v17.json
rename to autogpt_platform/graph_templates/Discord Search Bot_v17.json
diff --git a/autogpt_platform/backend/graph_templates/Medium Blogger_v28.json b/autogpt_platform/graph_templates/Medium Blogger_v28.json
similarity index 100%
rename from autogpt_platform/backend/graph_templates/Medium Blogger_v28.json
rename to autogpt_platform/graph_templates/Medium Blogger_v28.json
diff --git a/autogpt_platform/market/scripts.py b/autogpt_platform/market/scripts.py
index 7b5d6591bd..5465007b7b 100644
--- a/autogpt_platform/market/scripts.py
+++ b/autogpt_platform/market/scripts.py
@@ -29,7 +29,7 @@ def populate_database():
import market.model
- templates = pathlib.Path(__file__).parent.parent / "backend" / "graph_templates"
+ templates = pathlib.Path(__file__).parent.parent / "graph_templates"
all_files = glob.glob(str(templates / "*.json"))