- Fix critical async/await bug in chat API token verification - Add comprehensive authentication debugging logs - Fix conversations API Zod schema validation for query parameters - Remove problematic CircularProgress import causing build warnings - Improve error handling and user feedback in chat component The main issue was that verifyToken() was called without await, causing the chat API to receive a Promise object instead of the user payload, resulting in undefined userId and failed conversation persistence. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
32 KiB
32 KiB