diff --git a/searx/webapp.py b/searx/webapp.py index 7cc665de9..95a339313 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -1365,8 +1365,6 @@ function modal_open(url, num) if(v.length>6) result = v.slice(6); if(result == "[DONE]") { - word_last.push({'role':'user','content':word}) - word_last.push({'role':'assistant','content':chatTemp}) lock_chat=0 proxify() return; diff --git a/searx/webapp1.py b/searx/webapp1.py index 7cc665de9..95a339313 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -1365,8 +1365,6 @@ function modal_open(url, num) if(v.length>6) result = v.slice(6); if(result == "[DONE]") { - word_last.push({'role':'user','content':word}) - word_last.push({'role':'assistant','content':chatTemp}) lock_chat=0 proxify() return;