- Make OPENAI_API_KEY optional in env validation - Move OpenAI client initialization from module level to runtime - Accept API key from client UI (Settings sidebar) or server env - Return clear error message if no API key is provided - Fixes Vercel build failure due to missing env var at build time 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .env.local.example | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package.json | ||
| postcss.config.mjs | ||
| tailwind.config.ts | ||
| tsconfig.json | ||