From 1e39c561e28178f29854ca2e1951977b483c3616 Mon Sep 17 00:00:00 2001 From: luxtiasco <79135227+luxtiasco@users.noreply.github.com> Date: Wed, 22 Feb 2023 04:36:02 +0800 Subject: [PATCH] Update webapp.py --- searx/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/webapp.py b/searx/webapp.py index c42d9a779..38876f77e 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -876,7 +876,7 @@ var lock_chat=0; function send_chat() { if(lock_chat!=0) return; - const knowledge = document.querySelector("#chat > p").innerHTML.replace(/<.*?>.*?<\/.*?>/g, ''); + const knowledge = document.querySelector("#chat > p").innerHTML.replace(/<.*?>.*?<\/.*?>/g, '') +"\n以上是关键词 ''' + search_query.query + r''' 的搜索结果\n" let word = document.querySelector("#chat_input").value; if(word.length==0 || word.length > 140) return; if(word_last.length>500)word_last.slice(500)