mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Update webapp.py
This commit is contained in:
parent
b9304965ec
commit
802527e0e9
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@ function send_webchat(elem)
|
|||
|
||||
for (tmp_prompt in raws)
|
||||
{
|
||||
if len( prompt.data.prompt + tmp_prompt +'\n' + "\n以上是任务 " + word + " 的网络知识。用简体中文完成任务,如果使用了网络知识,删除无关内容,在文中用(链接)标注对应内容来源链接,链接不要放在最后。结果:") <2000:
|
||||
if ( prompt.data.prompt + tmp_prompt +'\n' + "\n以上是任务 " + word + " 的网络知识。用简体中文完成任务,如果使用了网络知识,删除无关内容,在文中用(链接)标注对应内容来源链接,链接不要放在最后。结果:").length <2000:
|
||||
prompt.data.prompt += tmp_prompt +'\n'
|
||||
}
|
||||
prompt.data.prompt += "\n以上是任务 " + original_search_query + " 的网络知识。用简体中文完成任务,如果使用了网络知识,删除无关内容,在文中用(链接)标注对应内容来源链接,链接不要放在最后。结果:";
|
||||
|
|
Loading…
Add table
Reference in a new issue