fix: harden degraded source handling
This commit is contained in:
@@ -501,6 +501,14 @@ These three unlock the most valuable economic and satellite data. Each takes abo
|
||||
|
||||
Reddit is OAuth-only in this fork. If the Reddit credentials are missing or rejected, the Reddit source is reported as degraded and no unauthenticated `reddit.com/.../hot.json` fallback is used.
|
||||
|
||||
Source resilience notes:
|
||||
- GDELT web/news pulls are bounded so optional geo enrichment cannot consume the full sweep source budget.
|
||||
- OFAC sanctions metadata is read through bounded XML snippets instead of downloading full sanctions XML files during every sweep.
|
||||
- EPA RadNet uses shorter bounded requests and reports degraded state instead of blocking the sweep when the government endpoint is slow.
|
||||
- BLS automatically retries without `BLS_API_KEY` when a configured key is rejected, while surfacing a configuration warning.
|
||||
- ACLED `403` means the credentials authenticated but the account still needs ACLED terms/profile/API access completed.
|
||||
- ADS-B and Reddit require credentials for their production-grade feeds; missing credentials are reported as degraded/disabled rather than silently faking live data.
|
||||
|
||||
### LLM Provider (optional, for AI-enhanced ideas)
|
||||
|
||||
Set `LLM_PROVIDER` to one of: `litellm`, `openrouter`, `openai-compatible`, `lmstudio`, `ollama`, `anthropic`, `openai`, `gemini`, `codex`, `minimax`, `mistral`, or `grok`.
|
||||
|
||||
Reference in New Issue
Block a user