Konsoliloki näyttää mallin nimen: ✓ qwen2.5-coder:3b | 438 tok | 4952ms | 93.4 tok/s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jaakko Vanhala
2026-04-11 10:01:32 +03:00
parent f42b692eeb
commit 4e83569194

View File

@@ -354,13 +354,12 @@ async fn main() {
let model_name = engine.model_name();
match engine.generate(prompt, max_tokens).await {
Ok(result) => {
let result_preview: String = result.text.chars().take(60).collect();
tracing::info!(
"✓ {} tok | {:.0}ms | {:.1} tok/s | \"{}...\"",
"✓ {} | {} tok | {:.0}ms | {:.1} tok/s",
model_name,
result.tokens_generated,
result.duration_ms,
result.tokens_per_sec,
result_preview
);
// Lähetetään vain lyhyt prompti-esikatselu (ei koko kontekstia)