mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
5197aba84f
commit
cc830b0927
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue