mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 19:57:04 +08:00
perf: 回复图片时控制台输出
This commit is contained in:
parent
74fb8ef15c
commit
7b5d47a2ca
|
@ -188,6 +188,8 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str) ->
|
|||
"回复[{}]文字消息:{}".format(session_name,
|
||||
reply[0][:min(100, len(reply[0]))] + ("..." if len(reply[0]) > 100 else "")))
|
||||
reply = [mgr.reply_filter.process(reply[0])]
|
||||
else:
|
||||
logging.info("回复[{}]图片消息:{}".format(session_name, reply))
|
||||
|
||||
finally:
|
||||
processing.remove(session_name)
|
||||
|
|
Loading…
Reference in New Issue
Block a user