Remove incorrect comment about updating every 5 seconds
This commit is contained in:
@@ -168,10 +168,6 @@ async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE) ->
|
|||||||
|
|
||||||
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:
|
||||||
assistant_reply = response.content
|
assistant_reply = response.content
|
||||||
|
|||||||
Reference in New Issue
Block a user