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.

refactor(backend): Remove config.default.json (#8581)

Aarushi47759f695177
diff --git a/autogpt_platform/backend/backend/util/settings.py b/autogpt_platform/backend/backend/util/settings.py
index 0a73e59e0f..426f12316e 100644
--- a/autogpt_platform/backend/backend/util/settings.py
+++ b/autogpt_platform/backend/backend/util/settings.py
@@ -11,7 +11,7 @@ from pydantic_settings import (
SettingsConfigDict,
)
-from backend.util.data import get_config_path, get_data_path, get_secrets_path
+from backend.util.data import get_data_path, get_secrets_path
T = TypeVar("T", bound=BaseSettings)
@@ -92,10 +92,6 @@ class Config(UpdateTrackingModel["Config"], BaseSettings):
# Add more configuration fields as needed
model_config = SettingsConfigDict(
- json_file=[
- get_config_path() / "config.default.json",
- get_config_path() / "config.json",
- ],
env_file=".env",
extra="allow",
)
diff --git a/autogpt_platform/backend/config.default.json b/autogpt_platform/backend/config.default.json
deleted file mode 100644
index 1fb2741dff..0000000000
--- a/autogpt_platform/backend/config.default.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "num_graph_workers": 10,
- "num_node_workers": 5,
- "num_user_credits_refill": 1500
-}