mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 14:17:11 +08:00
fix: summary switch bug
This commit is contained in:
@@ -69,7 +69,7 @@ class LinkAI(Plugin):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if (context.type == ContextType.SHARING and self._is_summary_open(context)) or \
|
if (context.type == ContextType.SHARING and self._is_summary_open(context)) or \
|
||||||
(context.type == ContextType.TEXT and LinkSummary().check_url(context.content)):
|
(context.type == ContextType.TEXT and self._is_summary_open(context) and LinkSummary().check_url(context.content)):
|
||||||
if not LinkSummary().check_url(context.content):
|
if not LinkSummary().check_url(context.content):
|
||||||
return
|
return
|
||||||
_send_info(e_context, "正在为你加速生成摘要,请稍后")
|
_send_info(e_context, "正在为你加速生成摘要,请稍后")
|
||||||
|
|||||||
Reference in New Issue
Block a user