fix: 添加工作流
This commit is contained in:
@@ -112,8 +112,9 @@ class JSONRPCResponse:
|
||||
|
||||
class ProgressReporter:
|
||||
"""Progress reporting using JSON-RPC notifications"""
|
||||
|
||||
def __init__(self):
|
||||
step: int = 0
|
||||
total: int = 0
|
||||
def __init__(self, total: int = 0):
|
||||
self.rpc = JSONRPCResponse()
|
||||
|
||||
def report(self, step: str, progress: float, message: str, details: Dict[str, Any] = None) -> None:
|
||||
|
||||
Reference in New Issue
Block a user