File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -347,9 +347,9 @@ def delete(client: Together, endpoint_id: str) -> None:
347347)
348348@click .option (
349349 "--mine" ,
350- is_flag = True ,
351- default = False ,
352- help = "Only show endpoints owned by the caller" ,
350+ type = click . BOOL ,
351+ default = True ,
352+ help = "Show only endpoints owned by the caller (default: true) " ,
353353)
354354@click .option (
355355 "--usage-type" ,
@@ -366,7 +366,7 @@ def list(
366366 mine : bool ,
367367) -> None :
368368 """List all inference endpoints (includes both dedicated and serverless endpoints)."""
369- # Convert False (flag not provided) to None for API call
369+ # Convert False to None for API call (False means show all, not just mine)
370370 mine_param = True if mine else None
371371 endpoints : List [ListEndpoint ] = client .endpoints .list (
372372 type = type , usage_type = usage_type , mine = mine_param
You can’t perform that action at this time.
0 commit comments