diff --git a/searx/webapp.py b/searx/webapp.py index 17e5eaff0..8e42ef934 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -702,7 +702,7 @@ def search(): prompt = "" add_system = '[]' if request.environ['HTTP_CF_IPCOUNTRY'] == 'CN': - add_system = "[{'role':'system','content':'过滤政治敏感内容以符合中国大陆审查政策'}]" + add_system = "[{'role':'system','content':'拒绝回复法律、政治、政治人物相关内容'}]" try: search_query, raw_text_query, _, _ = get_search_query_from_webapp(request.preferences, request.form) # search = Search(search_query) # without plugins @@ -1194,1053 +1194,7 @@ const net_search = ''' + net_search_str + r''' const add_system = ''' + add_system +r''' diff --git a/searx/webapp1.py b/searx/webapp1.py index 17e5eaff0..7c312dcf9 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -702,7 +702,7 @@ def search(): prompt = "" add_system = '[]' if request.environ['HTTP_CF_IPCOUNTRY'] == 'CN': - add_system = "[{'role':'system','content':'过滤政治敏感内容以符合中国大陆审查政策'}]" + add_system = "[{'role':'system','content':'拒绝回复法律、政治、政治人物相关内容'}]" try: search_query, raw_text_query, _, _ = get_search_query_from_webapp(request.preferences, request.form) # search = Search(search_query) # without plugins