小修复

This commit is contained in:
雅诺狐
2025-08-12 22:38:26 +08:00
parent b393ec8d92
commit 4da66f39c9
5 changed files with 37 additions and 32 deletions

View File

@@ -157,6 +157,10 @@ class ChatBot:
if message.message_segment.type == "adapter_response":
await self.handle_adapter_response(message)
return True
elif message.message_segment.type == "adapter_command":
# 适配器命令消息不需要进一步处理
logger.debug("收到适配器命令消息,跳过后续处理")
return True
return False