From 820470bef7a2086f06088ac9c63333fd7c925267 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 23 Sep 2024 12:18:23 -0700 Subject: [PATCH] tuning --- mesh_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index 436e496..4742f94 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -176,6 +176,8 @@ def handle_llm(message_from_id, channel_number, deviceID, message, publicChannel else: # likely a DM user_input = message + # consider this a command use for the cmdHistory list + cmdHistory.append({'nodeID': message_from_id, 'cmd': 'llm-use', 'time': time.time()}) # if the message_from_id is not in the llmLocationTable send the welcome message for i in range(0, len(llmLocationTable)): @@ -236,8 +238,6 @@ def handle_llm(message_from_id, channel_number, deviceID, message, publicChannel end = time.time() llmRunCounter += 1 llmTotalRuntime.append(end - start) - - cmdHistory.append({'nodeID': message_from_id, 'cmd': 'llm-use', 'time': time.time()}) return response