o2o-infinith-demo/supabase/functions/collect-channel-data
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
..
deno.json chore: add deno.json for new Edge Functions 2026-04-03 22:04:13 +09:00
index.ts fix: correct base64 encoding for Vision Analysis screenshots 2026-04-05 11:38:16 +09:00