Skip to content

Commit

Permalink
fix: failed on parsing -ol-*
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <[email protected]>
  • Loading branch information
thxCode committed Dec 11, 2024
1 parent 0634e74 commit 357de6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions file_from_distro.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ func ParseGGUFFileFromOllamaModel(ctx context.Context, model *OllamaModel, opts
return nil, ErrOllamaInvalidModel
}

opts = append(opts[:len(opts):len(opts)], SkipRangeDownloadDetection())

var o _GGUFReadOptions
for _, opt := range opts {
opt(&o)
Expand Down

0 comments on commit 357de6e

Please sign in to comment.