tpmjs/apps
Ajax Davis 9e863fe181 fix: make OPENAI_API_KEY optional for playground to allow client-provided keys
- 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>
2025-12-04 13:22:23 +10:00
..
playground fix: make OPENAI_API_KEY optional for playground to allow client-provided keys 2025-12-04 13:22:23 +10:00
railway-executor feat: add playground sidebars with dynamic tools and env var management 2025-12-04 11:00:20 +10:00
web feat: add playground sidebars with dynamic tools and env var management 2025-12-04 11:00:20 +10:00