Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion launch/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2842,8 +2842,10 @@ def create_llm_model_endpoint(
return AsyncEndpoint(model_endpoint=model_endpoint, client=self)
elif endpoint_type == "sync":
return SyncEndpoint(model_endpoint=model_endpoint, client=self)
elif endpoint_type == "streaming":
return StreamingEndpoint(model_endpoint=model_endpoint, client=self)
else:
raise ValueError("Endpoint should be one of the types 'sync' or 'async'")
raise ValueError("Endpoint should be one of the types 'sync', 'async', or 'streaming'")

def list_llm_model_endpoints(self) -> List[Endpoint]:
"""
Expand Down