"vscode:/vscode.git/clone" did not exist on "d5f045103d433e79f52df0b228dafe4c1ce0413a"
  1. 07 Aug, 2024 3 commits
    • Jesse Gross's avatar
      manifest: Fix crash on startup when trying to clean up unused files (#5840) · 1829fb61
      Jesse Gross authored
      Currently if the config field is missing in the manifest file (or
      corrupted), Ollama will crash when it tries to read it. This can
      happen at startup or when pulling new models.
      
      This data is mostly just used for showing model information so we
      can be tolerant of it not being present - it is not required to
      run the models. Besides avoiding crashing, this also gives us the
      ability to restructure the config in the future by pulling it
      into the main manifest file.
      1829fb61
    • Jesse Gross's avatar
      manifest: Don't prune layers if we can't open a manifest file · 685a5353
      Jesse Gross authored
      If there is an error when opening a manifest file (corrupted, permission denied, etc.)
      then the referenced layers will not be included in the list of active
      layers. This causes them to be deleted when pruning happens at startup
      or a model is pulled.
      
      In such a situation, we should prefer to preserve data in the hopes that
      it can be recovered rather than being agressive about deletion.
      685a5353
    • Jeffrey Morgan's avatar
  2. 06 Aug, 2024 4 commits
  3. 05 Aug, 2024 9 commits
  4. 04 Aug, 2024 1 commit
  5. 03 Aug, 2024 1 commit
  6. 02 Aug, 2024 5 commits
  7. 01 Aug, 2024 13 commits
  8. 31 Jul, 2024 4 commits