Skip to content

Commit

Permalink
Fix trusted deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
marius-baseten committed Feb 21, 2025
1 parent 9cff3a7 commit 7092f83
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions truss/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1087,8 +1087,8 @@ def run_python(script, target_directory):
type=bool,
is_flag=True,
required=False,
default=False,
help="[DEPRECATED]Trust truss with hosted secrets.",
default=None,
help="[DEPRECATED] Trust truss with hosted secrets.",
)
@click.option(
"--disable-truss-download",
Expand Down Expand Up @@ -1169,9 +1169,7 @@ def push(

# Log a warning if using --trusted.
if trusted is not None:
trusted_deprecation_notice = (
"[DEPRECATED] `--trusted` option is deprecated and no longer needed"
)
trusted_deprecation_notice = "[DEPRECATED] `--trusted` option is deprecated and no longer needed. All models are trusted by default."
console.print(trusted_deprecation_notice, style="yellow")

# trt-llm engine builder checks
Expand Down

0 comments on commit 7092f83

Please sign in to comment.