mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-05 16:32:54 +02:00
Update llm.py
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user