From 8358ffc50e8c846e4b9a3d4b5d18b7641951ea77 Mon Sep 17 00:00:00 2001 From: luxtiasco <79135227+luxtiasco@users.noreply.github.com> Date: Wed, 22 Feb 2023 02:20:37 +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 b86777bb8..a0083db70 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -762,7 +762,7 @@ def search(): res['content'] = res['content'].replace("Translate Tweet.","") res['content'] = res['content'].replace("Learn more.","") tmp_prompt = res['title'] +'\n'+ res['content'] + '\n' + new_url +'\n' - if len(prompt)+len(tmp_prompt)<2400: + if len(prompt)+len(tmp_prompt)<2300: prompt += tmp_prompt +'\n' if prompt != "": gpt = ""