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

remove config default josn

Co-authored-by: Zamil Majdy <zamil.majdy@agpt.co>
This commit is contained in:
Aarushi
2024-11-07 21:20:15 -06:00
committed by GitHub
parent bcaf3241da
commit 47759f6951
2 changed files with 1 additions and 10 deletions

View File

@@ -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",
)

View File

@@ -1,5 +0,0 @@
{
"num_graph_workers": 10,
"num_node_workers": 5,
"num_user_credits_refill": 1500
}