feat: include reply content in send confirmation message
This commit is contained in:
@@ -353,7 +353,7 @@ def _handle_message(tg_cfg: TelegramConfig, cfg: Config, msg: dict):
|
|||||||
if prompt_msg_id:
|
if prompt_msg_id:
|
||||||
delete_message(tg_cfg, chat_id_str, 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)
|
_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)
|
_conversations.pop(chat_id, None)
|
||||||
logger.info(" 回复发送完成")
|
logger.info(" 回复发送完成")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user