From 36abfd9192322187bfe3bca8c00242de0120beef Mon Sep 17 00:00:00 2001 From: Antigravity Bot Date: Sun, 30 Aug 2026 15:56:49 +0330 Subject: [PATCH] =?UTF-8?q?AI=20Update:=20=D8=AA=D8=A7=DB=8C=DB=8C=D8=AF?= =?UTF-8?q?=20=D8=A7=D8=B3=D8=AA=D8=8C=20=D9=81=D8=B1=D9=85=D8=AA=20=D8=AC?= =?UTF-8?q?=D8=AF=DB=8C=D8=AF=20=D8=B1=D8=A7=20=D8=B1=D9=88=DB=8C=20=D8=B1?= =?UTF-8?q?=D8=A8=D8=A7=D8=AA=20=D8=A7=D8=B9=D9=85=D8=A7=D9=84=20=DA=A9?= =?UTF-8?q?=D9=86.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- telegram-agy-bot/bot.py | 51 +++++++++++++--------------------- telegram-agy-bot/sessions.json | 16 +++++------ 2 files changed, 27 insertions(+), 40 deletions(-) diff --git a/telegram-agy-bot/bot.py b/telegram-agy-bot/bot.py index 521058d..192dcdd 100644 --- a/telegram-agy-bot/bot.py +++ b/telegram-agy-bot/bot.py @@ -2764,18 +2764,11 @@ async def process_agent_turn_by_chat_id( model_display = get_model_display_name(model_to_use, effort_to_use) curr_cid = getattr(curr_proj, "conversation_id", None) conv_title = getattr(curr_proj, "conversation_titles", {}).get(curr_cid) if curr_cid and hasattr(curr_proj, "conversation_titles") else None - if is_fa: - topic_str = f" โ€ข ๐Ÿท๏ธ ยซ{escape_html(conv_title)}ยป" if conv_title else "" - initial_status = ( - f"๐Ÿ“ ูพุฑูˆฺ˜ู‡: {escape_html(curr_proj.name)}{topic_str}\n\n" - f"๐Ÿ’ญ {escape_html(model_display)}" - ) - else: - topic_str = f" โ€ข ๐Ÿท๏ธ \"{escape_html(conv_title)}\"" if conv_title else "" - initial_status = ( - f"๐Ÿ“ Project: {escape_html(curr_proj.name)}{topic_str}\n\n" - f"๐Ÿ’ญ {escape_html(model_display)}" - ) + proj_label = f"๐Ÿ“ ูพุฑูˆฺ˜ู‡: {escape_html(curr_proj.name)}" if is_fa else f"๐Ÿ“ Project: {escape_html(curr_proj.name)}" + status_lines = [f"๐Ÿค” {escape_html(model_display)}"] + if conv_title: + status_lines.append(f"๐Ÿ—ฃ {escape_html(conv_title)}") + initial_status = f"{proj_label}\n\n" + "\n".join(status_lines) status_msg = await app.bot.send_message( chat_id=chat_id, text=initial_status, @@ -6541,18 +6534,11 @@ async def process_agent_turn( else: curr_cid = getattr(curr_proj, "conversation_id", None) conv_title = getattr(curr_proj, "conversation_titles", {}).get(curr_cid) if curr_cid and hasattr(curr_proj, "conversation_titles") else None - if is_fa: - topic_str = f" โ€ข ๐Ÿท๏ธ ยซ{escape_html(conv_title)}ยป" if conv_title else "" - initial_status = ( - f"๐Ÿ“ ูพุฑูˆฺ˜ู‡: {escape_html(curr_proj.name)}{topic_str}\n\n" - f"๐Ÿ’ญ {escape_html(model_display)}" - ) - else: - topic_str = f" โ€ข ๐Ÿท๏ธ \"{escape_html(conv_title)}\"" if conv_title else "" - initial_status = ( - f"๐Ÿ“ Project: {escape_html(curr_proj.name)}{topic_str}\n\n" - f"๐Ÿ’ญ {escape_html(model_display)}" - ) + proj_label = f"๐Ÿ“ ูพุฑูˆฺ˜ู‡: {escape_html(curr_proj.name)}" if is_fa else f"๐Ÿ“ Project: {escape_html(curr_proj.name)}" + status_lines = [f"๐Ÿค” {escape_html(model_display)}"] + if conv_title: + status_lines.append(f"๐Ÿ—ฃ {escape_html(conv_title)}") + initial_status = f"{proj_label}\n\n" + "\n".join(status_lines) status_msg = await update.effective_message.reply_html( initial_status, @@ -6597,7 +6583,6 @@ async def process_agent_turn( # Get dynamic conversation topic if set or updated curr_cid = getattr(curr_proj, "conversation_id", None) conv_title = getattr(curr_proj, "conversation_titles", {}).get(curr_cid) if curr_cid and hasattr(curr_proj, "conversation_titles") else None - topic_badge = f" โ€ข ๐Ÿท๏ธ {escape_html(conv_title)}" if conv_title else "" # Suffix at the BOTTOM of the message bottom_parts = [] @@ -6613,7 +6598,10 @@ async def process_agent_turn( # 3. Status indicator at the bottom stating which model is being used and active topic if not final: - bottom_parts.append(f"๐Ÿ’ญ {escape_html(model_display)}{topic_badge} โ–Œ") + status_lines = [f"๐Ÿค” {escape_html(model_display)} โ–Œ"] + if conv_title: + status_lines.append(f"๐Ÿ—ฃ {escape_html(conv_title)}") + bottom_parts.append("\n".join(status_lines)) if raw_text.strip(): formatted_body = markdown_to_telegram_html(raw_text) @@ -6623,15 +6611,14 @@ async def process_agent_turn( full_html = formatted_body + (" โ–Œ" if not final else "") else: # Still waiting for response text - show project header and thinking at the bottom - proj_header = ( - f"๐Ÿ“ ูพุฑูˆฺ˜ู‡: {escape_html(curr_proj.name)}{topic_badge}" - if is_fa else - f"๐Ÿ“ Project: {escape_html(curr_proj.name)}{topic_badge}" - ) + proj_header = f"๐Ÿ“ ูพุฑูˆฺ˜ู‡: {escape_html(curr_proj.name)}" if is_fa else f"๐Ÿ“ Project: {escape_html(curr_proj.name)}" + status_lines = [f"๐Ÿค” {escape_html(model_display)} โ–Œ"] + if conv_title: + status_lines.append(f"๐Ÿ—ฃ {escape_html(conv_title)}") + thinking_msg = "\n".join(status_lines) if bottom_parts: full_html = proj_header + "\n\n" + "\n\n".join(bottom_parts) else: - thinking_msg = f"๐Ÿ’ญ {escape_html(model_display)}{topic_badge} โ–Œ" full_html = proj_header + "\n\n" + thinking_msg if len(full_html) > settings.max_message_length: diff --git a/telegram-agy-bot/sessions.json b/telegram-agy-bot/sessions.json index 566dee7..4778be7 100644 --- a/telegram-agy-bot/sessions.json +++ b/telegram-agy-bot/sessions.json @@ -18,9 +18,9 @@ "model": "gemini-3.7-flash-auto", "effort": "high", "language": "fa", - "last_context_length": 27079, - "last_total_tokens": 347953, - "last_response": "\u0628\u0631\u0627\u06cc \u0627\u0639\u0645\u0627\u0644 \u0627\u06cc\u0646 \u0641\u0631\u0645\u062a \u062f\u0642\u06cc\u0642 \u062f\u0631 \u0646\u0648\u0627\u0631 \u0648\u0636\u0639\u06cc\u062a \u0627\u0633\u062a\u0631\u06cc\u0645 \u0632\u0646\u062f\u0647\u060c \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0622\u0645\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a:\n\n---\n\n### \ud83c\udfa8 \u067e\u06cc\u0634\u200c\u0646\u0645\u0627\u06cc\u0634 \u0646\u062d\u0648\u0647 \u0646\u0645\u0627\u06cc\u0634 \u062c\u062f\u06cc\u062f \u062f\u0631 \u062a\u0644\u06af\u0631\u0627\u0645:\n\n\u062f\u0631 \u0627\u0646\u062a\u0647\u0627\u06cc \u067e\u06cc\u0627\u0645 \u0632\u0646\u062f\u0647 (\u062f\u0631 \u062d\u06cc\u0646 \u0627\u0633\u062a\u0631\u06cc\u0645 \u0648 \u067e\u0631\u062f\u0627\u0632\u0634):\n```text\n\ud83e\udd14 Gemini 3.7 Flash Auto [High] \u258c\n\ud83d\udde3 \u0645\u0648\u0636\u0648\u0639 \u0645\u06a9\u0627\u0644\u0645\u0647 \u062c\u0627\u0631\u06cc\n```\n\n\u0648 \u062f\u0631 \u067e\u06cc\u0627\u0645 \u0648\u0636\u0639\u06cc\u062a \u0627\u0648\u0644\u06cc\u0647 (\u0634\u0631\u0648\u0639 \u062f\u0631\u062e\u0648\u0627\u0633\u062a):\n```text\n\ud83d\udcc1 \u067e\u0631\u0648\u0698\u0647: default\n\n\ud83e\udd14 Gemini 3.7 Flash Auto [High]\n\ud83d\udde3 \u0645\u0648\u0636\u0648\u0639 \u0645\u06a9\u0627\u0644\u0645\u0647 \u062c\u0627\u0631\u06cc\n```\n\n---\n\n### \ud83d\udccb \u062c\u0632\u0626\u06cc\u0627\u062a \u0641\u0646\u06cc \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u062f\u0631 [`bot.py`](file:///root/telegram-agy-bot/bot.py):\n1. **\u0627\u06cc\u0645\u0648\u062c\u06cc \u0648 \u0633\u0627\u062e\u062a\u0627\u0631 \u0648\u0636\u0639\u06cc\u062a \u0645\u062f\u0644:** \u062a\u063a\u06cc\u06cc\u0631 \u0622\u06cc\u06a9\u0648\u0646 \u0627\u0632 `\ud83d\udcad` \u0628\u0647 `\ud83e\udd14` \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u0627\u0645 \u0645\u062f\u0644 \u0648 \u0633\u0637\u062d \u062a\u0644\u0627\u0634 (Effort) \u0648 \u0646\u0634\u0627\u0646\u06af\u0631 \u0627\u0633\u062a\u0631\u06cc\u0645 `\u258c`.\n2. **\u062e\u0637 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0645\u0648\u0636\u0648\u0639 \u0645\u06a9\u0627\u0644\u0645\u0647:** \u0642\u0631\u0627\u0631\u06af\u06cc\u0631\u06cc \u0645\u0648\u0636\u0648\u0639 \u06af\u0641\u062a\u06af\u0648 \u062f\u0631 \u062e\u0637 \u062f\u0648\u0645 \u0628\u0627 \u0627\u06cc\u0645\u0648\u062c\u06cc `\ud83d\udde3` (\u062f\u0631 \u0635\u0648\u0631\u062a \u062a\u0646\u0638\u06cc\u0645 \u0628\u0648\u062f\u0646 \u0645\u0648\u0636\u0648\u0639 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u06cc\u0627 \u0639\u0646\u0648\u0627\u0646 \u0627\u0648\u0644\u06cc\u0646 \u067e\u06cc\u0627\u0645).\n3. **\u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u062f\u0631 \u062a\u0645\u0627\u0645 \u062d\u0627\u0644\u0627\u062a:** \u0627\u0639\u0645\u0627\u0644 \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0627\u06cc\u0646 \u0641\u0631\u0645\u062a \u062f\u0631 \u067e\u06cc\u0627\u0645 \u0627\u0648\u0644\u06cc\u0647\u060c \u062d\u0627\u0644\u062a \u0627\u0646\u062a\u0638\u0627\u0631 \u067e\u0627\u0633\u062e\u060c \u0648 \u0627\u0633\u062a\u0631\u06cc\u0645 \u0645\u062f\u0627\u0648\u0645 \u062a\u0648\u06a9\u0646\u200c\u0647\u0627.\n\n---\n\n\u2753 **\u0622\u06cc\u0627 \u0627\u06cc\u0646 \u0633\u0627\u062e\u062a\u0627\u0631 \u0648 \u0641\u0631\u0645\u062a \u062c\u062f\u06cc\u062f \u0645\u0648\u0631\u062f \u062a\u0627\u06cc\u06cc\u062f \u0634\u0645\u0627\u0633\u062a \u062a\u0627 \u0631\u0648\u06cc \u06a9\u062f\u0647\u0627\u06cc \u0631\u0628\u0627\u062a \u0627\u0639\u0645\u0627\u0644 \u0648 \u0633\u0631\u0648\u06cc\u0633 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0634\u0648\u062f\u061f**\n\n[[BUTTON: text=\"\u2705 \u062a\u0627\u06cc\u06cc\u062f \u0648 \u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\", prompt=\"\u062a\u0627\u06cc\u06cc\u062f \u0627\u0633\u062a\u060c \u0641\u0631\u0645\u062a \u062c\u062f\u06cc\u062f \u0631\u0627 \u0631\u0648\u06cc \u0631\u0628\u0627\u062a \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646.\", row=1]]\n[[BUTTON: text=\"\u274c \u0644\u063a\u0648\", prompt=\"\u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0644\u063a\u0648 \u0634\u0648\u062f.\", row=1]]\n\n---\n\u2022 \u0646\u0627\u0645 \u067e\u0631\u0648\u0698\u0647: default \n\u2022 \u0622\u062f\u0631\u0633 \u0645\u062e\u0632\u0646: https://git.msa.artacloud.ir/root/default\n", + "last_context_length": 34164, + "last_total_tokens": 505332, + "last_response": "[[RESTART_BOT]]\n\n\u0641\u0631\u0645\u062a \u0646\u0648\u0627\u0631 \u0648\u0636\u0639\u06cc\u062a \u0627\u0633\u062a\u0631\u06cc\u0645 \u0632\u0646\u062f\u0647 \u062f\u0642\u06cc\u0642\u0627 \u0637\u0628\u0642 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0634\u0645\u0627 \u062f\u0631 \u0633\u0648\u0631\u0633\u200c\u06a9\u062f \u0631\u0628\u0627\u062a ([`bot.py`](file:///root/telegram-agy-bot/bot.py)) \u0627\u0639\u0645\u0627\u0644 \u0634\u062f:\n\n---\n\n### \u2728 \u0641\u0631\u0645\u062a \u062c\u062f\u06cc\u062f \u0641\u0639\u0627\u0644\u200c\u0634\u062f\u0647:\n\n```text\n\ud83e\udd14 {modelName} {effort} \u258c\n\ud83d\udde3 {conversationName}\n```\n\n- **\u062e\u0637 \u0627\u0648\u0644:** \u0627\u06cc\u0645\u0648\u062c\u06cc `\ud83e\udd14` \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u0627\u0645 \u0645\u062f\u0644 \u0648 \u0633\u0637\u062d \u062a\u0644\u0627\u0634 (Effort) \u0648 \u0646\u0634\u0627\u0646\u06af\u0631 \u0627\u0633\u062a\u0631\u06cc\u0645 `\u258c`.\n- **\u062e\u0637 \u062f\u0648\u0645:** \u0627\u06cc\u0645\u0648\u062c\u06cc `\ud83d\udde3` \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0645\u0648\u0636\u0648\u0639/\u0639\u0646\u0648\u0627\u0646 \u0645\u06a9\u0627\u0644\u0645\u0647 \u0641\u0639\u0627\u0644 (Conversation Topic).\n\n\u06a9\u062f\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 \u0634\u062f\u0646\u062f \u0648 \u0628\u0627 \u062a\u06af `[[RESTART_BOT]]` \u0631\u0628\u0627\u062a \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u062f\u0648\u0646 \u0648\u0642\u0641\u0647 \u0631\u06cc\u200c\u0627\u0633\u062a\u0627\u0631\u062a \u06af\u0631\u062f\u06cc\u062f \u062a\u0627 \u0627\u06cc\u0646 \u0641\u0631\u0645\u062a \u0633\u0631\u06cc\u0639\u0627\u064b \u0641\u0639\u0627\u0644 \u0634\u0648\u062f.\n\n---\n\u2022 \u0646\u0627\u0645 \u067e\u0631\u0648\u0698\u0647: default \n\u2022 \u0622\u062f\u0631\u0633 \u0645\u062e\u0632\u0646: https://git.msa.artacloud.ir/root/default\n", "created_at": 1787995349.975879, "description": "", "conversation_titles": { @@ -95,19 +95,19 @@ } }, "turn_in_progress": false, - "last_prompt": "\u062f\u0631 \u0646\u0648\u0627\u0631 \u0648\u0636\u0639\u06cc\u062a \u0627\u0633\u062a\u0631\u06cc\u0645 \u0632\u0646\u062f\u0647 \u0641\u0631\u0645\u062a \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u0628\u0627\u0634\u062f:\n\n\ud83e\udd14 {modelName} {effort}\n\ud83d\udde3 {conversationName}", - "last_response": "\u0628\u0631\u0627\u06cc \u0627\u0639\u0645\u0627\u0644 \u0627\u06cc\u0646 \u0641\u0631\u0645\u062a \u062f\u0642\u06cc\u0642 \u062f\u0631 \u0646\u0648\u0627\u0631 \u0648\u0636\u0639\u06cc\u062a \u0627\u0633\u062a\u0631\u06cc\u0645 \u0632\u0646\u062f\u0647\u060c \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc \u0628\u0647 \u0634\u0631\u062d \u0632\u06cc\u0631 \u0622\u0645\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a:\n\n---\n\n### \ud83c\udfa8 \u067e\u06cc\u0634\u200c\u0646\u0645\u0627\u06cc\u0634 \u0646\u062d\u0648\u0647 \u0646\u0645\u0627\u06cc\u0634 \u062c\u062f\u06cc\u062f \u062f\u0631 \u062a\u0644\u06af\u0631\u0627\u0645:\n\n\u062f\u0631 \u0627\u0646\u062a\u0647\u0627\u06cc \u067e\u06cc\u0627\u0645 \u0632\u0646\u062f\u0647 (\u062f\u0631 \u062d\u06cc\u0646 \u0627\u0633\u062a\u0631\u06cc\u0645 \u0648 \u067e\u0631\u062f\u0627\u0632\u0634):\n```text\n\ud83e\udd14 Gemini 3.7 Flash Auto [High] \u258c\n\ud83d\udde3 \u0645\u0648\u0636\u0648\u0639 \u0645\u06a9\u0627\u0644\u0645\u0647 \u062c\u0627\u0631\u06cc\n```\n\n\u0648 \u062f\u0631 \u067e\u06cc\u0627\u0645 \u0648\u0636\u0639\u06cc\u062a \u0627\u0648\u0644\u06cc\u0647 (\u0634\u0631\u0648\u0639 \u062f\u0631\u062e\u0648\u0627\u0633\u062a):\n```text\n\ud83d\udcc1 \u067e\u0631\u0648\u0698\u0647: default\n\n\ud83e\udd14 Gemini 3.7 Flash Auto [High]\n\ud83d\udde3 \u0645\u0648\u0636\u0648\u0639 \u0645\u06a9\u0627\u0644\u0645\u0647 \u062c\u0627\u0631\u06cc\n```\n\n---\n\n### \ud83d\udccb \u062c\u0632\u0626\u06cc\u0627\u062a \u0641\u0646\u06cc \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u062f\u0631 [`bot.py`](file:///root/telegram-agy-bot/bot.py):\n1. **\u0627\u06cc\u0645\u0648\u062c\u06cc \u0648 \u0633\u0627\u062e\u062a\u0627\u0631 \u0648\u0636\u0639\u06cc\u062a \u0645\u062f\u0644:** \u062a\u063a\u06cc\u06cc\u0631 \u0622\u06cc\u06a9\u0648\u0646 \u0627\u0632 `\ud83d\udcad` \u0628\u0647 `\ud83e\udd14` \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u0627\u0645 \u0645\u062f\u0644 \u0648 \u0633\u0637\u062d \u062a\u0644\u0627\u0634 (Effort) \u0648 \u0646\u0634\u0627\u0646\u06af\u0631 \u0627\u0633\u062a\u0631\u06cc\u0645 `\u258c`.\n2. **\u062e\u0637 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0645\u0648\u0636\u0648\u0639 \u0645\u06a9\u0627\u0644\u0645\u0647:** \u0642\u0631\u0627\u0631\u06af\u06cc\u0631\u06cc \u0645\u0648\u0636\u0648\u0639 \u06af\u0641\u062a\u06af\u0648 \u062f\u0631 \u062e\u0637 \u062f\u0648\u0645 \u0628\u0627 \u0627\u06cc\u0645\u0648\u062c\u06cc `\ud83d\udde3` (\u062f\u0631 \u0635\u0648\u0631\u062a \u062a\u0646\u0638\u06cc\u0645 \u0628\u0648\u062f\u0646 \u0645\u0648\u0636\u0648\u0639 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u06cc\u0627 \u0639\u0646\u0648\u0627\u0646 \u0627\u0648\u0644\u06cc\u0646 \u067e\u06cc\u0627\u0645).\n3. **\u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u062f\u0631 \u062a\u0645\u0627\u0645 \u062d\u0627\u0644\u0627\u062a:** \u0627\u0639\u0645\u0627\u0644 \u06cc\u06a9\u067e\u0627\u0631\u0686\u0647 \u0627\u06cc\u0646 \u0641\u0631\u0645\u062a \u062f\u0631 \u067e\u06cc\u0627\u0645 \u0627\u0648\u0644\u06cc\u0647\u060c \u062d\u0627\u0644\u062a \u0627\u0646\u062a\u0638\u0627\u0631 \u067e\u0627\u0633\u062e\u060c \u0648 \u0627\u0633\u062a\u0631\u06cc\u0645 \u0645\u062f\u0627\u0648\u0645 \u062a\u0648\u06a9\u0646\u200c\u0647\u0627.\n\n---\n\n\u2753 **\u0622\u06cc\u0627 \u0627\u06cc\u0646 \u0633\u0627\u062e\u062a\u0627\u0631 \u0648 \u0641\u0631\u0645\u062a \u062c\u062f\u06cc\u062f \u0645\u0648\u0631\u062f \u062a\u0627\u06cc\u06cc\u062f \u0634\u0645\u0627\u0633\u062a \u062a\u0627 \u0631\u0648\u06cc \u06a9\u062f\u0647\u0627\u06cc \u0631\u0628\u0627\u062a \u0627\u0639\u0645\u0627\u0644 \u0648 \u0633\u0631\u0648\u06cc\u0633 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0634\u0648\u062f\u061f**\n\n[[BUTTON: text=\"\u2705 \u062a\u0627\u06cc\u06cc\u062f \u0648 \u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\", prompt=\"\u062a\u0627\u06cc\u06cc\u062f \u0627\u0633\u062a\u060c \u0641\u0631\u0645\u062a \u062c\u062f\u06cc\u062f \u0631\u0627 \u0631\u0648\u06cc \u0631\u0628\u0627\u062a \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646.\", row=1]]\n[[BUTTON: text=\"\u274c \u0644\u063a\u0648\", prompt=\"\u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0644\u063a\u0648 \u0634\u0648\u062f.\", row=1]]\n\n---\n\u2022 \u0646\u0627\u0645 \u067e\u0631\u0648\u0698\u0647: default \n\u2022 \u0622\u062f\u0631\u0633 \u0645\u062e\u0632\u0646: https://git.msa.artacloud.ir/root/default\n", + "last_prompt": "\u062a\u0627\u06cc\u06cc\u062f \u0627\u0633\u062a\u060c \u0641\u0631\u0645\u062a \u062c\u062f\u06cc\u062f \u0631\u0627 \u0631\u0648\u06cc \u0631\u0628\u0627\u062a \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646.", + "last_response": "[[RESTART_BOT]]\n\n\u0641\u0631\u0645\u062a \u0646\u0648\u0627\u0631 \u0648\u0636\u0639\u06cc\u062a \u0627\u0633\u062a\u0631\u06cc\u0645 \u0632\u0646\u062f\u0647 \u062f\u0642\u06cc\u0642\u0627 \u0637\u0628\u0642 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0634\u0645\u0627 \u062f\u0631 \u0633\u0648\u0631\u0633\u200c\u06a9\u062f \u0631\u0628\u0627\u062a ([`bot.py`](file:///root/telegram-agy-bot/bot.py)) \u0627\u0639\u0645\u0627\u0644 \u0634\u062f:\n\n---\n\n### \u2728 \u0641\u0631\u0645\u062a \u062c\u062f\u06cc\u062f \u0641\u0639\u0627\u0644\u200c\u0634\u062f\u0647:\n\n```text\n\ud83e\udd14 {modelName} {effort} \u258c\n\ud83d\udde3 {conversationName}\n```\n\n- **\u062e\u0637 \u0627\u0648\u0644:** \u0627\u06cc\u0645\u0648\u062c\u06cc `\ud83e\udd14` \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0646\u0627\u0645 \u0645\u062f\u0644 \u0648 \u0633\u0637\u062d \u062a\u0644\u0627\u0634 (Effort) \u0648 \u0646\u0634\u0627\u0646\u06af\u0631 \u0627\u0633\u062a\u0631\u06cc\u0645 `\u258c`.\n- **\u062e\u0637 \u062f\u0648\u0645:** \u0627\u06cc\u0645\u0648\u062c\u06cc `\ud83d\udde3` \u0628\u0647 \u0647\u0645\u0631\u0627\u0647 \u0645\u0648\u0636\u0648\u0639/\u0639\u0646\u0648\u0627\u0646 \u0645\u06a9\u0627\u0644\u0645\u0647 \u0641\u0639\u0627\u0644 (Conversation Topic).\n\n\u06a9\u062f\u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u06a9\u0627\u0645\u067e\u0627\u06cc\u0644 \u0634\u062f\u0646\u062f \u0648 \u0628\u0627 \u062a\u06af `[[RESTART_BOT]]` \u0631\u0628\u0627\u062a \u0628\u0647 \u0635\u0648\u0631\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u062f\u0648\u0646 \u0648\u0642\u0641\u0647 \u0631\u06cc\u200c\u0627\u0633\u062a\u0627\u0631\u062a \u06af\u0631\u062f\u06cc\u062f \u062a\u0627 \u0627\u06cc\u0646 \u0641\u0631\u0645\u062a \u0633\u0631\u06cc\u0639\u0627\u064b \u0641\u0639\u0627\u0644 \u0634\u0648\u062f.\n\n---\n\u2022 \u0646\u0627\u0645 \u067e\u0631\u0648\u0698\u0647: default \n\u2022 \u0622\u062f\u0631\u0633 \u0645\u062e\u0632\u0646: https://git.msa.artacloud.ir/root/default\n", "last_status_msg_id": null, "restart_pending": false, "last_delivered": true, - "last_update_time": 1788092715.9946191, + "last_update_time": 1788092807.2515695, "workspace": "/root", "conversation_id": "ad39c983-09f1-4042-889f-681049b0de26", "model": "gemini-3.7-flash-auto", "effort": "high", "language": "fa", - "last_context_length": 27079, - "last_total_tokens": 347953 + "last_context_length": 34164, + "last_total_tokens": 505332 }, "232801087": { "chat_id": 232801087,