From c2ea278a390fdddae3a1569bd576c6643ac2aca6 Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Wed, 26 Jun 2024 23:44:34 +0800 Subject: [PATCH] :bug: add default value for mentions in reply response --- nonebot/adapters/feishu/models/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot/adapters/feishu/models/common.py b/nonebot/adapters/feishu/models/common.py index 3bf3f9e..792d2bb 100644 --- a/nonebot/adapters/feishu/models/common.py +++ b/nonebot/adapters/feishu/models/common.py @@ -120,7 +120,7 @@ class Reply(BaseModel): chat_id: str sender: ReplySender body: MessageBody - mentions: list[ReplyMention] + mentions: list[ReplyMention] = [] upper_message_id: Optional[str] = None if PYDANTIC_V2: