[Frontend][RL] Align sleep-mode API responses and operation metrics (#52864)
Signed-off-by: Ronald1995 <ronaldautomobile@163.com> Signed-off-by: aoshen02 <aoshen02@users.noreply.github.com> Co-authored-by: aoshen02 <aoshen02@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
aoshen02
Claude Opus 5.5
parent
29773c722b
commit
e5f3d08d72
@@ -1320,7 +1320,7 @@ class AsyncMPClient(MPClient):
|
||||
await self.call_utility_async("release_kv_cache_memory")
|
||||
|
||||
async def wake_up_async(self, tags: list[str] | None = None) -> bool:
|
||||
return await self.call_utility_async("wake_up", tags)
|
||||
return all(await self.call_utility_all_async("wake_up", tags))
|
||||
|
||||
async def is_sleeping_async(self) -> bool:
|
||||
return await self.call_utility_consensus_async("is_sleeping")
|
||||
|
||||
Reference in New Issue
Block a user