From 214e3e0111d6947381a065c821b29d5aae0b0bd5 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 22 Jun 2026 00:29:52 +0000 Subject: [PATCH] Fix: AI chat router prefix /ai -> /api/ai (match other routers) --- backend/app/routers/ai_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/routers/ai_chat.py b/backend/app/routers/ai_chat.py index 96c8534..1e2bcd8 100644 --- a/backend/app/routers/ai_chat.py +++ b/backend/app/routers/ai_chat.py @@ -13,7 +13,7 @@ from app.models.user import User from app.services import ai_provider logger = logging.getLogger(__name__) -router = APIRouter(prefix="/ai", tags=["AI Coaching"]) +router = APIRouter(prefix="/api/ai", tags=["AI Coaching"]) @router.post("/chat")