mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 08:17:03 +00:00
display pull progress
This commit is contained in:
committed by
Jeffrey Morgan
parent
580fe8951c
commit
7cf5905063
@@ -107,7 +107,7 @@ func Serve(ln net.Listener) error {
|
||||
return
|
||||
}
|
||||
|
||||
progressCh := make(chan string)
|
||||
progressCh := make(chan api.PullProgress)
|
||||
go func() {
|
||||
defer close(progressCh)
|
||||
if err := pull(req.Model, progressCh); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user