非空检查

This commit is contained in:
UnCLAS-Prommer committed 2025-07-27 00:14:58 +08:00
1 parent 3ab9b8def5
commit 14c0413d7c
1 file changed
+1 -1
+1 -1
View File
@@ -108,7 +108,7 @@ async def generate_reply(
logger.debug("[GeneratorAPI] 开始生成回复")
if not reply_to:
if not reply_to and action_data:
reply_to = action_data.get("reply_to", "")
if not extra_info and action_data:
extra_info = action_data.get("extra_info", "")