diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/AiChatService.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/AiChatService.cs
index 745e468d..335697f5 100644
--- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/AiChatService.cs
+++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Application/Services/AiChatService.cs
@@ -122,4 +122,41 @@ public class AiChatService : ApplicationService
await _aiGateWayManager.CompleteChatStreamForStatisticsAsync(_httpContextAccessor.HttpContext, input,
CurrentUser.Id, sessionId, cancellationToken);
}
+
+
+ ///
+ /// 发送消息
+ ///
+ ///
+ ///
+ [HttpPost("ai-chat/FileMaster/send")]
+ public async Task PostFileMasterSendAsync([FromBody] ThorChatCompletionsRequest input,
+ CancellationToken cancellationToken)
+ {
+ if (!string.IsNullOrWhiteSpace(input.Model))
+ {
+ throw new BusinessException("当前接口不支持第三方使用");
+ }
+
+ if (CurrentUser.IsAuthenticated)
+ {
+ await _aiBlacklistManager.VerifiyAiBlacklist(CurrentUser.GetId());
+ if (CurrentUser.IsAiVip())
+ {
+ input.Model = "gpt-5-chat";
+ }
+ else
+ {
+ input.Model = "gpt-4.1-mini";
+ }
+ }
+ else
+ {
+ input.Model = "DeepSeek-R1-0528";
+ }
+
+ //ai网关代理httpcontext
+ await _aiGateWayManager.CompleteChatStreamForStatisticsAsync(_httpContextAccessor.HttpContext, input,
+ CurrentUser.Id, null, cancellationToken);
+ }
}
\ No newline at end of file