Skip to content

Commit 8f1231c

Browse files
authored
Fix bug (#161)
1 parent 794089b commit 8f1231c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

launch/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2842,8 +2842,10 @@ def create_llm_model_endpoint(
28422842
return AsyncEndpoint(model_endpoint=model_endpoint, client=self)
28432843
elif endpoint_type == "sync":
28442844
return SyncEndpoint(model_endpoint=model_endpoint, client=self)
2845+
elif endpoint_type == "streaming":
2846+
return StreamingEndpoint(model_endpoint=model_endpoint, client=self)
28452847
else:
2846-
raise ValueError("Endpoint should be one of the types 'sync' or 'async'")
2848+
raise ValueError("Endpoint should be one of the types 'sync', 'async', or 'streaming'")
28472849

28482850
def list_llm_model_endpoints(self) -> List[Endpoint]:
28492851
"""

0 commit comments

Comments
 (0)