mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 00:36:03 +00:00
refactor: yirimirai 适配器实现异步
This commit is contained in:
@@ -7,6 +7,7 @@ from ..openai import manager as openai_mgr
|
||||
from ..config import manager as config_mgr
|
||||
from ..database import manager as database_mgr
|
||||
from ..utils.center import v2 as center_mgr
|
||||
from ..plugin import host as plugin_host
|
||||
|
||||
|
||||
class Application:
|
||||
@@ -28,4 +29,7 @@ class Application:
|
||||
pass
|
||||
|
||||
async def run(self):
|
||||
pass
|
||||
# TODO make it async
|
||||
plugin_host.initialize_plugins()
|
||||
|
||||
await self.im_mgr.run()
|
||||
Reference in New Issue
Block a user