From e63fb71ef6f9053c69078fbef77ad3c11ad76369 Mon Sep 17 00:00:00 2001 From: chenchun Date: Thu, 1 May 2025 15:57:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=AF=E6=8C=81ai=E8=BD=AC=E4=B9=89?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Yi.Framework.ChatHub.Application/Services/AiChatService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yi.Abp.Net8/module/chat-hub/Yi.Framework.ChatHub.Application/Services/AiChatService.cs b/Yi.Abp.Net8/module/chat-hub/Yi.Framework.ChatHub.Application/Services/AiChatService.cs index cdac53ee..c085b43a 100644 --- a/Yi.Abp.Net8/module/chat-hub/Yi.Framework.ChatHub.Application/Services/AiChatService.cs +++ b/Yi.Abp.Net8/module/chat-hub/Yi.Framework.ChatHub.Application/Services/AiChatService.cs @@ -23,7 +23,7 @@ namespace Yi.Framework.ChatHub.Application.Services /// /// [Authorize] - [HttpPost("ai-chat/chat/{model}")] + [HttpPost("ai-chat/chat/{*model}")] public async Task ChatAsync([FromRoute]string model, [FromBody] List chatContext) { const int maxChar = 10;