Remove incorrect comment about updating every 5 seconds

This commit is contained in:
2024-08-18 16:17:41 -05:00
parent a3ca27e08c
commit 53840b2381
-4
View File
@@ -167,10 +167,6 @@ async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE) ->
assistant_reply = assistant_message assistant_reply = assistant_message
toolUseCount += 1 toolUseCount += 1
# Update status message every 5 seconds
if toolUseCount % 5 == 0:
await update_status_message(context, update.effective_chat.id, status_message.message_id, f"Tools used: {toolUseCount}")
if (toolUseCount == 0): if (toolUseCount == 0):
if use_anthropic: if use_anthropic: