fix message link check

This commit is contained in:
jxxghp
2025-05-18 15:25:45 +08:00
parent c8dc30287c
commit 007bd24374
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -423,7 +423,7 @@ class MessageChain(ChainBase):
# 聊天
content = text
action = "Chat"
elif text.startswith("http"):
elif StringUtils.is_link(text):
# 链接
content = text
action = "Link"