mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
32 lines
678 B
Python
32 lines
678 B
Python
|
from __future__ import annotations
|
||
|
|
||
|
import logging
|
||
|
|
||
|
from ..qqbot import manager as qqbot_mgr
|
||
|
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
|
||
|
|
||
|
|
||
|
class Application:
|
||
|
im_mgr: qqbot_mgr.QQBotManager = None
|
||
|
|
||
|
llm_mgr: openai_mgr.OpenAIInteract = None
|
||
|
|
||
|
cfg_mgr: config_mgr.ConfigManager = None
|
||
|
|
||
|
tips_mgr: config_mgr.ConfigManager = None
|
||
|
|
||
|
db_mgr: database_mgr.DatabaseManager = None
|
||
|
|
||
|
ctr_mgr: center_mgr.V2CenterAPI = None
|
||
|
|
||
|
logger: logging.Logger = None
|
||
|
|
||
|
def __init__(self):
|
||
|
pass
|
||
|
|
||
|
async def run(self):
|
||
|
pass
|