feat: 异步风格插件方法注册器

This commit is contained in:
RockChinQ
2024-03-20 15:09:47 +08:00
parent fa823de6b0
commit 52a7c25540
9 changed files with 210 additions and 9 deletions

View File

@@ -24,3 +24,15 @@ def func(
name: str=None,
) -> typing.Callable:
pass
def handler(
event: typing.Type[BaseEventModel]
) -> typing.Callable[[typing.Callable], typing.Callable]:
pass
def llm_func(
name: str=None,
) -> typing.Callable:
pass