Skip to content

Commit

Permalink
refactor(backend): Remove config.default.json (Significant-Gravitas#8581
Browse files Browse the repository at this point in the history
)

remove config default josn

Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
  • Loading branch information
aarushik93 and majdyz authored Nov 8, 2024
1 parent bcaf324 commit 47759f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
6 changes: 1 addition & 5 deletions autogpt_platform/backend/backend/util/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
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)

Expand Down Expand Up @@ -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",
)
Expand Down
5 changes: 0 additions & 5 deletions autogpt_platform/backend/config.default.json

This file was deleted.

0 comments on commit 47759f6

Please sign in to comment.