display pull progress

This commit is contained in:
Bruce MacDonald
2023-07-06 14:18:40 -04:00
committed by Jeffrey Morgan
parent 580fe8951c
commit 7cf5905063
7 changed files with 81 additions and 19 deletions

View File

@@ -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 {