adjust chatmanager lock
This commit is contained in:
@@ -26,9 +26,11 @@ class ProcRecord:
|
||||
|
||||
|
||||
class ChatManager:
|
||||
_procs: Dict[str, ProcRecord] = {}
|
||||
_lock = threading.RLock()
|
||||
def __init__(self):
|
||||
self._procs: Dict[str, ProcRecord] = {}
|
||||
self._lock = threading.RLock()
|
||||
pass
|
||||
|
||||
|
||||
def init(self,user_uuid,ase_client,raw_markdown,raw_markdown_prompts,raw_score_prompts,max_iter = 5, app=None, socketio=None):
|
||||
self.chapter_chain_now = -1
|
||||
|
||||
Reference in New Issue
Block a user