feat: upgrade AI prompts to v2 specification with grounding and injection shield

This commit is contained in:
mstfyldz
2026-08-14 00:52:41 +03:00
parent f1457b02ca
commit fab80e05a0
8 changed files with 257 additions and 45 deletions
+2
View File
@@ -6,6 +6,7 @@ import caseRoutes from './case.routes';
import templateRoutes from './template.routes';
import draftingRoutes from './drafting.routes';
import googleDriveRoutes from './googleDrive.routes';
import authRoutes from './auth.routes';
const router = Router();
@@ -13,6 +14,7 @@ router.get('/health', (req, res) => {
res.json({ status: 'ok', message: 'AyrisLegal Backend is running' });
});
router.use('/auth', authRoutes); // POST /api/auth/register, /api/auth/check-device
router.use('/documents', documentRoutes);
router.use('/chat', chatRoutes);
router.use('/cases', caseRoutes);