diff --git a/centml/sdk/config.py b/centml/sdk/config.py index 3e8b6ea..55b440f 100644 --- a/centml/sdk/config.py +++ b/centml/sdk/config.py @@ -6,7 +6,7 @@ class Config(BaseSettings): # It is possible to override the default values by setting the environment variables - model_config = SettingsConfigDict(env_file=Path(".env")) + model_config = SettingsConfigDict(env_file=Path(".env"), extra="ignore") CENTML_WEB_URL: str = os.getenv("CENTML_WEB_URL", default="https://app.centml.com/") CENTML_CONFIG_PATH: str = os.getenv("CENTML_CONFIG_PATH", default=os.path.expanduser("~/.centml"))