fix: add extra=ignore to monolith Settings for strangler fig compat

This commit is contained in:
Roberto Musso
2026-03-22 22:28:50 +01:00
parent 90018af311
commit 5e9ef2809e

View File

@@ -29,7 +29,6 @@ class Settings(BaseSettings):
CEREBRAS_API_KEY: str = ""
LLM_MODEL: str = "gpt-4o"
LLM_ROUTER_MODEL: str = "gpt-4o-mini"
LLM_EMBED_MODEL: str = "text-embedding-3-small"
# GitHub Copilot OAuth token storage directory.
@@ -54,7 +53,9 @@ class Settings(BaseSettings):
ENV: Literal["dev", "prod"] = "dev"
model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8")
model_config = SettingsConfigDict(
env_file=".env", env_file_encoding="utf-8", extra="ignore"
)
settings = Settings()