Skip to content

Commit

Permalink
feat: 取消未知消息ID的日志打印
Browse files Browse the repository at this point in the history
  • Loading branch information
zgqgit committed Jul 12, 2024
1 parent afa670d commit c461eee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/bisheng/api/v1/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ def get_chatlist_list(*,
create_time=message.create_time,
update_time=message.update_time))
else:
# 通过接口创建的会话记录,不关联技能或者助手
logger.debug(f'unknown message.flow_id={message.flow_id}')
# 通过接口创建的会话记录,不关联技能或者助手, 或者技能和助手已被删除
pass
res = chat_list[(page - 1) * limit:page * limit]
chat_ids = [one.chat_id for one in res]
latest_messages = ChatMessageDao.get_latest_message_by_chat_ids(chat_ids, 'answer')
Expand Down

0 comments on commit c461eee

Please sign in to comment.