diff --git a/app/global_func.py b/app/global_func.py index 80b5d02..9ebfd7d 100644 --- a/app/global_func.py +++ b/app/global_func.py @@ -1,6 +1,5 @@ from ahserver.serverenv import ServerEnv from sqlor.dbpools import DBPools -from alisms import AliSMS def PopError(title='Error', message='Error happened'): return { @@ -49,9 +48,7 @@ async def get_llminstances_by_modeltype(mtid): def set_globalvariable(): - sms_engine = sms = AliSMS('LTAI5t5w7xsZgueod6uZ3TCD', 'n1HttSbQvgEbjvf62Gzl1aagfKyIyS') g = ServerEnv() - g.sms_engine = sms_engine g.PopError = PopError g.PopMessage = PopMessage g.get_llm_types = get_llm_types