mirror of
https://github.com/ollama/ollama.git
synced 2025-04-22 22:44:34 +02:00
...
This commit is contained in:
parent
fdef9a0eb2
commit
7ba71c3989
@ -29,9 +29,6 @@ var (
|
||||
type Client struct {
|
||||
BaseURL string
|
||||
|
||||
// TODO(bmizerany): remove NameFill (once we remove model dep here)
|
||||
NameFill string
|
||||
|
||||
Logger *slog.Logger
|
||||
}
|
||||
|
||||
@ -208,7 +205,6 @@ func (nopSeeker) Seek(int64, int) (int64, error) {
|
||||
// If the server requests layers not found in the cache, ErrLayerNotFound is
|
||||
// returned.
|
||||
func (c *Client) Push(ctx context.Context, cache Cache, name string) error {
|
||||
// TODO(bmizerany): remove dep on model.Name
|
||||
manifest := cache.ManifestData(name)
|
||||
if len(manifest) == 0 {
|
||||
return fmt.Errorf("manifest not found: %s", name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user