From 7c7f1891b7c0550c8815c2f6428c78622835bbbb Mon Sep 17 00:00:00 2001 From: w_xiaolizu Date: Tue, 23 May 2023 19:40:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=95=E5=85=A5=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- func_box.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/func_box.py b/func_box.py index 661d4c9..83d303d 100644 --- a/func_box.py +++ b/func_box.py @@ -481,8 +481,8 @@ def thread_write_chat(chatbot): """ private_key = toolbox.get_conf('private_key')[0] chat_title = chatbot[0][0].split() - i_say = chatbot[-1][0].strip("

/p").strip('

/div') - gpt_result = chatbot[-1][1].strip("

/p").strip('

/div') + i_say = chatbot[-1][0].strip('
/div

/p') + gpt_result = chatbot[-1][1].strip('

/div

/p') if private_key in chat_title: SqliteHandle(f'ai_private_{chat_title[-2]}').inset_prompt({i_say: gpt_result}) else: