Skip to content

Commit

Permalink
remove the double-default from the help for model
Browse files Browse the repository at this point in the history
  • Loading branch information
seapagan committed Nov 26, 2024
1 parent f462fa1 commit 8c0cdcb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ pub struct Flags {
long = "model",
short = 'm',
help = &format!(
"Model to use for tokenization count. Supported \
models: 'gpt4o', 'gpt4', 'gpt3.5', 'gpt3', 'gpt2' \
(Defaults to '{}')",
Params::default().model.unwrap_or_default()
"Model to use for tokenization count. "
),
value_parser = VALID_MODELS
)]
Expand Down

0 comments on commit 8c0cdcb

Please sign in to comment.