feat: pipeline invoking

This commit is contained in:
Junyan Qin
2025-03-28 23:42:41 +08:00
parent f8127eb585
commit 5ff59f1b07
7 changed files with 185 additions and 164 deletions
+3 -1
View File
@@ -33,7 +33,8 @@ class QueryPool:
sender_id: typing.Union[int, str],
message_event: platform_events.MessageEvent,
message_chain: platform_message.MessageChain,
adapter: msadapter.MessagePlatformAdapter
adapter: msadapter.MessagePlatformAdapter,
pipeline_uuid: str
) -> entities.Query:
async with self.condition:
query = entities.Query(
@@ -43,6 +44,7 @@ class QueryPool:
sender_id=sender_id,
message_event=message_event,
message_chain=message_chain,
pipeline_uuid=pipeline_uuid,
resp_messages=[],
resp_message_chain=[],
adapter=adapter