mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-29 04:00:26 +00:00
mcp nice loading
This commit is contained in:
parent
08f69c1012
commit
01d1002dfb
4 changed files with 61 additions and 36 deletions
|
|
@ -377,6 +377,11 @@ class MCPConfig(BaseModel):
|
|||
cls.__instance = cls(servers_list=[])
|
||||
return cls.__instance
|
||||
|
||||
@classmethod
|
||||
def wait_for_lock(cls):
|
||||
with cls.__lock:
|
||||
return
|
||||
|
||||
@classmethod
|
||||
def update(cls, config_str: str) -> Any:
|
||||
with cls.__lock:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue