feat(04-01): UnsplashService + Settings unsplash_api_key
- Crea UnsplashService con search, cache disco, traduzione IT->EN - ~30 keyword B2B italiane tradotte in dizionario statico - Cache in-memory + persistenza su disco (unsplash_cache.json) - Retry automatico su errori di rete, no-retry su 401/403 - Rate limiting awareness via X-Ratelimit-Remaining header - Aggiunge campo unsplash_api_key a Settings schema - Router settings espone unsplash_api_key_masked + configured - Merge None-preserving per unsplash_api_key nel PUT
This commit is contained in:
@@ -48,3 +48,7 @@ class Settings(BaseModel):
|
||||
default="diretto e concreto",
|
||||
description="Tono di voce per i contenuti generati.",
|
||||
)
|
||||
unsplash_api_key: Optional[str] = Field(
|
||||
default=None,
|
||||
description="Chiave API Unsplash. Se configurata, le keyword immagine vengono risolte in URL reali nel CSV.",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user