From 3cdc5e6653c8499d319931f11dfe84923c12bc97 Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Mon, 20 Feb 2023 21:29:55 +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 df6acea33..3d5443989 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)<3000: + if len(prompt)+len(tmp_prompt)<2800: prompt += tmp_prompt +'\n' if prompt != "": gpt = ""