Admin & Data Settings

Data source status, AI provider, cache refresh and configuration.

Data source status

Database:

AI provider:

Live diagnostics

Tests each provider for real and reports live vs mock fallback.

API key management

Keys are configured via environment variables (never committed). Copy .env.example to .env and fill in the values below. Until then the app runs on bundled mock data.

AI_PROVIDER / AI_API_KEY / AI_MODELAI match-story provider (openai | anthropic | mock)
API_FOOTBALL_KEYFixtures, standings, stats, injuries (api-sports.io)
FOOTBALL_SEASON / WORLD_CUP_SEASONSeason years for API-Football queries
NEWS_API_KEYNews articles & derived sentiment (newsapi.org)
DATABASE_URLPostgres/Supabase connection for persistence (optional)

Manual data override

When a provider is missing a value, the engine falls back to mock data so predictions never break. To override specific records before a live API is wired up, edit the typed mock files under src/lib/mock/ teams.ts, fixtures.ts and news.ts.

⚠️ GuessFC predictions are AI-generated sports analysis for entertainment and informational purposes only. Football is unpredictable.