Calls the Gemini generateContent REST API via fetch (no new deps), reads
GEMINI_API_KEY, disables thinking so output tokens go to the reply, and
retries 429/503 up to 3 times with backoff.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
fix: validate LLM_API_URL format in getLlmUrl function
- Log webhook delivery attempts and responses in `app/api/reel/route.ts`
- Log incoming POST requests, auth rejections, and accepted jobs
- Centralize pipeline progress logging in `lib/progress.ts` via `setProgress`
These logs improve observability for debugging and monitoring without scattering log statements throughout the pipeline.