fix: add router prefix for ai_ui_control WebSocket and REST routes
- APIRouter had no prefix, so WebSocket was on /ws not /api/v1/ai-ui-control/ws - This caused 403 on every WebSocket connection attempt - Remove debug print statements
This commit is contained in:
@@ -26,7 +26,7 @@ from app.plugins.builtins.ai_ui_control.schemas import (
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
router = APIRouter(tags=["ai-ui-control"])
|
||||
router = APIRouter(prefix="/api/v1/ai-ui-control", tags=["ai-ui-control"])
|
||||
|
||||
|
||||
# ─── REST endpoints (for AI agents) ───
|
||||
|
||||
Reference in New Issue
Block a user