no app log in client
This commit is contained in:
@@ -6,7 +6,6 @@ from datetime import datetime
|
|||||||
from typing import Dict, Callable, Any, Optional
|
from typing import Dict, Callable, Any, Optional
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from threading import Event
|
from threading import Event
|
||||||
from flask import current_app
|
|
||||||
|
|
||||||
class ASEngineClient:
|
class ASEngineClient:
|
||||||
def __init__(self, server_url: str, namespace: str, id:str):
|
def __init__(self, server_url: str, namespace: str, id:str):
|
||||||
@@ -382,8 +381,5 @@ class HSAEngineClient(ASEngineClient):
|
|||||||
self.chatmanager = chatmanager
|
self.chatmanager = chatmanager
|
||||||
def loadmarkdown(self, fmd, fmdp, fsp):
|
def loadmarkdown(self, fmd, fmdp, fsp):
|
||||||
self.send_text('markdown-in', fmd, self.id, wait_for_ack=True)
|
self.send_text('markdown-in', fmd, self.id, wait_for_ack=True)
|
||||||
current_app.logger.debug(f"Sent markdown: {fmd}")
|
|
||||||
self.send_text('markdown-prompt-in', fmdp, self.id, wait_for_ack=True)
|
self.send_text('markdown-prompt-in', fmdp, self.id, wait_for_ack=True)
|
||||||
current_app.logger.debug(f"Sent markdown-prompt: {fmdp}")
|
|
||||||
self.send_text('score-prompt-in', fsp, self.id, wait_for_ack=True)
|
self.send_text('score-prompt-in', fsp, self.id, wait_for_ack=True)
|
||||||
current_app.logger.debug(f"Sent score-prompt: {fsp}")
|
|
||||||
|
|||||||
Reference in New Issue
Block a user