Skip to content

Commit fb7ef32

Browse files
committed
wip
1 parent c041da7 commit fb7ef32

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/together/cli/api/endpoints.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)