fix: 修改deepseek校验

This commit is contained in:
ccnetcore
2025-06-30 22:07:42 +08:00
parent 9a334101ca
commit 69d8ff1034
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ public class AiChatService : ApplicationService
public async Task PostSendAsync(SendMessageInput input, CancellationToken cancellationToken)
{
//除了免费模型,其他的模型都要校验
if (input.Model != "DeepSeek-R1")
if (!input.Model.Contains("DeepSeek-R1"))
{
//有token需要黑名单校验
if (CurrentUser.IsAuthenticated)