先修改下描述
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
一款优化Coze返回结果中的图片和网址链接的chatgpt-on-wechat插件,包含两个功能:
|
一款用来适配Dify的chatbot的返回的markdown格式返回的消息处理
|
||||||
|
|
||||||
+ 提取Coze(包括coze.com和coze.cn)返回的Markdown图片链接中的网址,并修改ReplyType为IMAGE_URL,以便CoW自动下载Markdown链接中的图片;
|
+ 提取Dify返回的Markdown图片链接中的网址,并修改ReplyType为IMAGE_URL,以便DoW自动下载Markdown链接中的图片;
|
||||||
+ 提取Coze返回的包含 https://s.coze.cn/t/xxx 网址的Markdown链接中的图片网址,并修改ReplyType为IMAGE_URL,以便CoW自动下载Markdown链接中的图片;
|
+ 提取Dify返回的包含 https://s.coze.cn/t/xxx 网址的Markdown链接中的图片网址,并修改ReplyType为IMAGE_URL,以便CoW自动下载Markdown链接中的图片;
|
||||||
+ 去掉每行结尾的Markdown链接中网址部分的小括号,避免微信误以为“)”是网址的一部分导致微信中无法打开该页面。
|
+ 去掉每行结尾的Markdown链接中网址部分的小括号,避免微信误以为“)”是网址的一部分导致微信中无法打开该页面。
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
from .nicecoze import *
|
from .markdown import *
|
||||||
|
|||||||
@@ -10,12 +10,12 @@ from plugins import *
|
|||||||
|
|
||||||
|
|
||||||
@plugins.register(
|
@plugins.register(
|
||||||
name="NiceCoze",
|
name="dow-markdown",
|
||||||
desire_priority=66,
|
desire_priority=66,
|
||||||
hidden=False,
|
hidden=False,
|
||||||
desc="优化Coze返回结果中的图片和网址链接。",
|
desc="优化markdown返回结果中的图片和网址链接。",
|
||||||
version="1.5",
|
version="0.1",
|
||||||
author="空心菜",
|
author="Kubbo",
|
||||||
)
|
)
|
||||||
class NiceCoze(Plugin):
|
class NiceCoze(Plugin):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
Reference in New Issue
Block a user