mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 22:27:13 +08:00
fix: image vision temporarily cancel error logging
This commit is contained in:
@@ -56,7 +56,8 @@ class LinkAI(Plugin):
|
|||||||
_send_info(e_context, "正在为你加速生成摘要,请稍后")
|
_send_info(e_context, "正在为你加速生成摘要,请稍后")
|
||||||
res = LinkSummary().summary_file(file_path)
|
res = LinkSummary().summary_file(file_path)
|
||||||
if not res:
|
if not res:
|
||||||
_set_reply_text("因为神秘力量无法获取内容,请稍后再试吧", e_context, level=ReplyType.TEXT)
|
if context.type != ContextType.IMAGE:
|
||||||
|
_set_reply_text("因为神秘力量无法获取内容,请稍后再试吧", e_context, level=ReplyType.TEXT)
|
||||||
return
|
return
|
||||||
summary_text = res.get("summary")
|
summary_text = res.get("summary")
|
||||||
if context.type != ContextType.IMAGE:
|
if context.type != ContextType.IMAGE:
|
||||||
|
|||||||
Reference in New Issue
Block a user