From 06fc2de66cf8ca90f3635c7387ec40a3323ac85f Mon Sep 17 00:00:00 2001 From: Anton Mironov Date: Fri, 12 Dec 2025 14:40:28 +0200 Subject: [PATCH] fix the chat action method path --- .../Telerik.Examples.Mvc/Views/Chat/SmartChat.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telerik.Examples.Mvc/Telerik.Examples.Mvc/Views/Chat/SmartChat.cshtml b/Telerik.Examples.Mvc/Telerik.Examples.Mvc/Views/Chat/SmartChat.cshtml index bf0a863..cda77dd 100644 --- a/Telerik.Examples.Mvc/Telerik.Examples.Mvc/Views/Chat/SmartChat.cshtml +++ b/Telerik.Examples.Mvc/Telerik.Examples.Mvc/Views/Chat/SmartChat.cshtml @@ -16,7 +16,7 @@ const chat = $("#aiChat").data("kendoChat"); try { - const response = await fetch('/ChatAiIntegration/Ask', { + const response = await fetch('/SmartChat/Ask', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ prompt: e.message.text })