1.workflow has reached a state of basic functionality.

2. implemented AI message bus infrastructure,
This commit is contained in:
Liu Zhicong
2023-08-30 12:30:41 -07:00
parent ccbef2104b
commit 05d2e4a9cf
21 changed files with 1146 additions and 297 deletions
+1 -4
View File
@@ -19,16 +19,13 @@ class ComputeKernel:
if cls._instance is None:
cls._instance = super().__new__(cls)
cls._instance.is_start = False
else:
print("ComputeKernel is already created!")
return cls._instance
def __init__(self) -> None:
if self.is_start is True:
print("ComputeKernel is already start!")
return
print("init ComputeKernel!!!")
self.is_start = True
self.task_queue = Queue()
self.is_start = False