Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
orangecat
ollama
Commits
5d1c6b74
"test/gtest-1.8.0/googlemock/docs/CookBook.md" did not exist on "e2818c423e5058a02f46ce2e519a82742a8ccac9"
Unverified
Commit
5d1c6b74
authored
Jul 14, 2023
by
Michael Yang
Committed by
GitHub
Jul 14, 2023
Browse files
Merge pull request #79 from jmorganca/fix-typo
fix typo
parents
77dc1a6d
5fefaa5d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api/types.go
api/types.go
+1
-1
No files found.
api/types.go
View file @
5d1c6b74
...
...
@@ -57,7 +57,7 @@ func (r *GenerateResponse) Summary() {
}
if
r
.
EvalDuration
>
0
{
fmt
.
Fprintf
(
os
.
Stderr
,
"eval dura
i
ton: %s
\n
"
,
r
.
EvalDuration
)
fmt
.
Fprintf
(
os
.
Stderr
,
"eval durat
i
on: %s
\n
"
,
r
.
EvalDuration
)
fmt
.
Fprintf
(
os
.
Stderr
,
"eval rate: %.2f tokens/s
\n
"
,
float64
(
r
.
EvalCount
)
/
r
.
EvalDuration
.
Seconds
())
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment