feat: include reply content in send confirmation message

This commit is contained in:
2026-07-02 21:01:05 +08:00
parent d334b6f3eb
commit 2ebcad0a70

View File

@@ -353,7 +353,7 @@ def _handle_message(tg_cfg: TelegramConfig, cfg: Config, msg: dict):
if prompt_msg_id:
delete_message(tg_cfg, chat_id_str, prompt_msg_id)
_do_send_reply(tg_cfg, cfg, chat_id, conv["summary_msg_id"], ctx, text)
send_text(tg_cfg, chat_id_str, "✅ 回复已发送")
send_text(tg_cfg, chat_id_str, f"✅ 回复已发送: {text}")
_conversations.pop(chat_id, None)
logger.info(" 回复发送完成")