import express from 'express';
import { AIController } from '../controllers/ai.controller';
import { authenticateToken } from '../middleware/auth';

const router = express.Router();

router.use(authenticateToken);

router.post('/chat', AIController.chat);
router.delete('/chat/:sessionId', AIController.clearChat);

export default router;
