This commit is contained in:
Untone 2024-09-26 18:00:21 +03:00
parent 9c0eb26365
commit 51cd4ae65b

View File

@ -35,6 +35,7 @@ async def messages_routing(msg, state):
text = ''
toxic_score = 0
if not reply_msg:
logger.debug(f'scoring average for {uid}')
scoring_msg_id = mid
pattern = f"toxic:{cid}:{uid}:*"
scores = []