Enforce strict validation of configuration settings
This commit is contained in:
1 parent
d05a4f7136
commit
8e37db5c6d
1 file changed
+1
-1
@@ -19,7 +19,7 @@ class Settings(BaseSettings):
|
|||||||
ANTHROPIC_API_KEY: str
|
ANTHROPIC_API_KEY: str
|
||||||
"""The Anthropic API key."""
|
"""The Anthropic API key."""
|
||||||
|
|
||||||
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
model_config = SettingsConfigDict(env_file=".env")
|
||||||
"""The model configuration."""
|
"""The model configuration."""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user