From 5fefaa5d4dc3445417d155b639a9657ef6378115 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Fri, 14 Jul 2023 10:47:18 -0700 Subject: [PATCH] fix typo --- api/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/types.go b/api/types.go index 34ba91b3..c5f62220 100644 --- a/api/types.go +++ b/api/types.go @@ -57,7 +57,7 @@ func (r *GenerateResponse) Summary() { } if r.EvalDuration > 0 { - fmt.Fprintf(os.Stderr, "eval duraiton: %s\n", r.EvalDuration) + fmt.Fprintf(os.Stderr, "eval duration: %s\n", r.EvalDuration) fmt.Fprintf(os.Stderr, "eval rate: %.2f tokens/s\n", float64(r.EvalCount)/r.EvalDuration.Seconds()) } }