From 732b29d349ccf82853a1d8c51f33cf2c0f836782 Mon Sep 17 00:00:00 2001 From: Chill Date: Mon, 6 Jan 2025 16:18:23 +0800 Subject: [PATCH] =?UTF-8?q?fix=20#IBFKMS=2018=E4=BC=98=E5=8C=96app=5Fchatg?= =?UTF-8?q?pt=E7=9A=84bug=E6=8A=A5=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_chatgpt/__manifest__.py | 2 +- app_chatgpt/models/discuss_channel.py | 2 +- app_chatgpt/static/description/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app_chatgpt/__manifest__.py b/app_chatgpt/__manifest__.py index c446e183..2acbdb89 100644 --- a/app_chatgpt/__manifest__.py +++ b/app_chatgpt/__manifest__.py @@ -10,7 +10,7 @@ { 'name': 'ChatGPT4, China Ali,AiGC Center.Ai服务中心,聚合全网Ai', - 'version': '18.0.24.12.26', + 'version': '18.0.25.01.06', 'author': 'odooai.cn', 'company': 'odooai.cn', 'maintainer': 'odooai.cn', diff --git a/app_chatgpt/models/discuss_channel.py b/app_chatgpt/models/discuss_channel.py index bc1b315c..4357ead7 100644 --- a/app_chatgpt/models/discuss_channel.py +++ b/app_chatgpt/models/discuss_channel.py @@ -246,7 +246,7 @@ class Channel(models.Model): msg = _("Please warmly welcome our new partner %s and send him the best wishes.") % message.author_id.name else: # 不能用 preview, 如果用 : 提示词则 preview信息丢失 - plaintext_ct = tools.html_to_inner_content(message.body) + plaintext_ct = tools.mail.html_to_inner_content(message.body) msg = plaintext_ct.replace('@%s' % answer_id.name, '').lstrip() if not msg: diff --git a/app_chatgpt/static/description/index.html b/app_chatgpt/static/description/index.html index a3e77818..7aa5cb29 100644 --- a/app_chatgpt/static/description/index.html +++ b/app_chatgpt/static/description/index.html @@ -4,7 +4,7 @@

Latest ChatGPT AI Center. GPT 3.5, Ali Ai, Baidu Ai, Multi Robot Support. Chat and Training

Support chatgpt 4 32k. 3.5 turbo, text-davinci, Integration All ChatGpt Api.

-

Latest update: v18.24.12.26

+

Latest update: v18.25.01.06

Add Alibaba Qwen support(search 'app_ai_ali'), update chatgpt api