add app context log
This commit is contained in:
@@ -433,6 +433,7 @@ class HSAEngineClient(ASEngineClient):
|
||||
super().__init__(server_url, namespace, id)
|
||||
self.chatmanager = chatmanager
|
||||
def loadmarkdown(self, fmd, fmdp, fsp):
|
||||
with self.chatmanager.app.app_context():
|
||||
now = time.time()
|
||||
# 并行发送三个消息,获取事件对象和ack_id
|
||||
event1, ack_id1 = self.send_text('markdown-in', fmd, self.id, wait_for_ack=True, return_event=True)
|
||||
|
||||
Reference in New Issue
Block a user