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