先修改下描述

This commit is contained in:
2024-08-02 16:50:44 +08:00
committed by GitHub
parent f627498bca
commit 8d043576ea
3 changed files with 8 additions and 8 deletions

View File

@@ -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链接中网址部分的小括号避免微信误以为“)”是网址的一部分导致微信中无法打开该页面。

View File

@@ -1 +1 @@
from .nicecoze import * from .markdown import *

View File

@@ -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):