We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5bb84 commit eea7bf2Copy full SHA for eea7bf2
src/main.rs
@@ -176,14 +176,16 @@ fn main() -> Result<()> {
176
println!("{}", serde_json::to_string_pretty(&json_output)?);
177
return Ok(());
178
} else {
179
- println!(
180
- "{}{}{} Token count: {}, Model info: {}",
181
- "[".bold().white(),
182
- "i".bold().blue(),
183
- "]".bold().white(),
184
- token_count.to_string().bold().yellow(),
185
- model_info
186
- );
+ if args.tokens {
+ println!(
+ "{}{}{} Token count: {}, Model info: {}",
+ "[".bold().white(),
+ "i".bold().blue(),
+ "]".bold().white(),
+ token_count.to_string().bold().yellow(),
+ model_info
187
+ );
188
+ }
189
}
190
191
// Copy to Clipboard
0 commit comments