**Problem:** The Interactive Playground was failing with "Missing tiktoken_bg.wasm" error in production. Tiktoken requires WASM files which don't work in Vercel's serverless environment. **Solution:** - Remove tiktoken import from tool-executor-agent - Replace tiktoken-based token counting with character estimation (~4 chars/token) - Remove tiktoken from package.json dependencies - Remove unused biome-ignore comment **Impact:** - Token counting is now approximate but consistent - No more WASM-related runtime errors - Serverless deployment works properly - Tool execution now functional in production 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| web | ||