tpmjs/apps/playground
Ajax Davis cc14476a36 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
..
src fix: make OPENAI_API_KEY optional for playground to allow client-provided keys 2025-12-04 13:22:23 +10:00
.env.local.example feat: implement playground app with AI SDK v6 tool execution 2025-12-04 02:51:02 +10:00
next-env.d.ts debug: add logging for inputSchema structure inspection 2025-12-04 09:33:09 +10:00
next.config.ts feat: add dynamic tool loading system with Railway executor 2025-12-04 08:25:53 +10:00
package.json fix: migrate playground to AI SDK v6 beta and resolve TypeScript errors 2025-12-04 13:15:21 +10:00
postcss.config.mjs feat: implement playground app with AI SDK v6 tool execution 2025-12-04 02:51:02 +10:00
tailwind.config.ts feat: implement playground app with AI SDK v6 tool execution 2025-12-04 02:51:02 +10:00
tsconfig.json feat: implement playground app with AI SDK v6 tool execution 2025-12-04 02:51:02 +10:00