mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-12 00:37:04 +00:00
add feedback for reading model metadata (#722)
This commit is contained in:
@@ -372,6 +372,7 @@ func CreateModel(ctx context.Context, workDir, name string, path string, fn func
|
|||||||
}
|
}
|
||||||
|
|
||||||
if mf != nil {
|
if mf != nil {
|
||||||
|
fn(api.ProgressResponse{Status: "reading model metadata"})
|
||||||
sourceBlobPath, err := GetBlobsPath(mf.Config.Digest)
|
sourceBlobPath, err := GetBlobsPath(mf.Config.Digest)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user