o2o-infinith-demo/supabase/functions
Haewon Kam 82e9ec6cc0 fix: correct base64 encoding for Vision Analysis screenshots
- Previous chunked btoa approach encoded each chunk independently,
  producing corrupted base64 that Gemini couldn't parse (returned {})
- Now builds complete binary string first, then encodes once with btoa
- Added screenshot debug info to channel errors for diagnostics
- Confirmed: foundingYear 2004, doctors, gangnamunni data all extracted

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 11:38:16 +09:00
..
_shared fix: correct base64 encoding for Vision Analysis screenshots 2026-04-05 11:38:16 +09:00
analyze-market feat: Sprint 1 — 7 data quality quick wins 2026-04-04 23:35:40 +09:00
collect-channel-data fix: correct base64 encoding for Vision Analysis screenshots 2026-04-05 11:38:16 +09:00
discover-channels feat: DB V3 dual-write — clinics + analysis_runs + channel_snapshots 2026-04-05 00:51:11 +09:00
enrich-channels feat: Sprint 1 — 7 data quality quick wins 2026-04-04 23:35:40 +09:00
generate-report fix: add Authorization header to all Edge Function calls + fix Vision Analysis 2026-04-05 10:08:03 +09:00
scrape-website feat: prototype gap closure — enrichment diagnosis + brand extraction + plan assets 2026-04-03 17:09:15 +09:00