fix: 修改deepseek校验
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user