From aa5f2f66f85bd89b964135d4dd7e7a15be3a7da9 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 3 Sep 2024 21:10:11 -0700 Subject: [PATCH] Update llm.py --- modules/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/llm.py b/modules/llm.py index 7c53d08..0e8dc67 100644 --- a/modules/llm.py +++ b/modules/llm.py @@ -15,7 +15,6 @@ llmContext_fromGoogle = True llm_history_limit = 6 # limit the history to 3 messages (come in pairs) antiFloodLLM = [] llmChat_history = [] -googleResults = [] trap_list_llm = ("ask:", "askai") meshBotAI = """ @@ -61,6 +60,7 @@ chain_prompt_model = model_prompt | ollama_model def llm_query(input, nodeID=0): global antiFloodLLM, llmChat_history + googleResults = [] # add the naughty list here to stop the function before we continue # add a list of allowed nodes only to use the function