Marco310 commited on
Commit
5f40fec
·
1 Parent(s): 5a6891d

Fix: specific API keys are now optional to prevent startup crash when env vars are missing

Browse files
Files changed (1) hide show
  1. src/infra/config.py +2 -2
src/infra/config.py CHANGED
@@ -43,8 +43,8 @@ class Settings(BaseSettings):
43
  )
44
 
45
  # Google Maps (Required for Scout and Traffic agents)
46
- google_maps_api_key: str = Field(
47
- ...,
48
  alias="GOOGLE_MAPS_API_KEY",
49
  description="Google Maps Platform API key"
50
  )
 
43
  )
44
 
45
  # Google Maps (Required for Scout and Traffic agents)
46
+ google_maps_api_key: Optional[str] = Field(
47
+ None,
48
  alias="GOOGLE_MAPS_API_KEY",
49
  description="Google Maps Platform API key"
50
  )