非空检查

pull/1143/head^2^2
UnCLAS-Prommer 2025-07-27 00:14:58 +08:00
parent 3ab9b8def5
commit 14c0413d7c
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

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", "")