summaryrefslogtreecommitdiffstats
path: root/src/config/mod.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-10-27 09:33:34 +0800
committerGitHub <noreply@github.com>2023-10-27 09:33:34 +0800
commit47818159a7ca3910cdc6ed00109a331d2ac2f906 (patch)
tree967e28746d01e71a4227e441078613f0abdbded8 /src/config/mod.rs
parent2fad63be6a826db1340734b98e3d507660611bf6 (diff)
downloadaichat-47818159a7ca3910cdc6ed00109a331d2ac2f906.tar.gz
refactor: streaming input text in dry-run mode (#154)
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r--src/config/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index 4a0a126..4360dcf 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -412,7 +412,7 @@ impl Config {
if self.dry_run {
if let Ok(messages) = self.build_messages(input) {
let tokens = num_tokens_from_messages(&messages);
- println!(">>> The following message consumes {tokens} tokens.");
+ println!(">>> This message consumes {tokens} tokens. <<<");
}
}
}