perf: 优化 pipeline 处理时的报错

This commit is contained in:
RockChinQ
2024-07-04 13:03:58 +08:00
parent d3629916bf
commit b5d33ef629
2 changed files with 6 additions and 1 deletions

View File

@@ -73,6 +73,9 @@ class Query(pydantic.BaseModel):
resp_message_chain: typing.Optional[list[mirai.MessageChain]] = None
"""回复消息链从resp_messages包装而得"""
# ======= 内部保留 =======
current_stage: "pkg.pipeline.stagemgr.StageInstContainer" = None
class Config:
arbitrary_types_allowed = True