更新敏感词

This commit is contained in:
ivan deng
2023-04-20 15:49:20 +08:00
parent f58cbeddfb
commit 2c2a147185
2 changed files with 14042 additions and 14482 deletions

View File

@@ -131,7 +131,6 @@ class Channel(models.Model):
answer_id = user_id.partner_id
if gpt_policy == 'all' or (gpt_policy == 'limit' and is_allow):
ai = user_id.sudo().gpt_id
ai = user_id.gpt_id
elif user_id.gpt_id and not is_allow:
# 暂时有限用户的Ai
raise UserError(_('此Ai暂时未开放请联系管理员。'))