- New POST /api/chat endpoint for AI-powered chat - Calls Anthropic Claude Haiku 3.5 with embedded Dealspace knowledge - Rate limiting: 20 requests/IP/hour - Lead capture: emails detected and saved to /opt/dealspace/data/leads.jsonl - Frontend chat widget (chat.js, chat.css) added to all HTML pages - Navy/gold theme matching site design - Mobile responsive - CORS configured for muskepo.com |
||
|---|---|---|
| .. | ||
| chat.go | ||
| handlers.go | ||
| middleware.go | ||
| routes.go | ||