[Frontend] Add /collective_rpc API endpoint (#23075)

Signed-off-by: 22quinn <33176974+22quinn@users.noreply.github.com>
This commit is contained in:
22quinn
2025-08-19 10:29:32 -07:00
committed by GitHub
parent 03d4235fd2
commit f7cf5b512e
4 changed files with 126 additions and 1 deletions

View File

@@ -329,3 +329,11 @@ class EngineClient(ABC):
drain_timeout: int = 300) -> None:
"""Scale the engine"""
raise NotImplementedError
async def collective_rpc(self,
method: str,
timeout: Optional[float] = None,
args: tuple = (),
kwargs: Optional[dict] = None):
"""Perform a collective RPC call to the given path."""
raise NotImplementedError