You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: OG images return 0 bytes on Next 16 + hide AI button until opted in
OG images all rendered 200 but with empty body — the edge runtime export
broke ImageResponse on Next.js 16. Removing the export falls back to the
default node runtime, which renders correctly. Affects /opengraph-image,
/workflow/opengraph-image, /vs-books/opengraph-image,
/vs-tools/opengraph-image.
Also gate "Enhance with AI" behind NEXT_PUBLIC_AI_ENABLED=true so the
button doesn't show on deployments that haven't set ANTHROPIC_API_KEY.
Template-fill mode is unaffected. Set both env vars in Vercel when ready
to enable the AI path.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments