1. 14 Aug, 2024 1 commit
  2. 08 Aug, 2024 1 commit
    • Jesse Gross's avatar
      manifest: Store layers inside manifests consistently as values. · 7edaf6e7
      Jesse Gross authored
      Commit 1829fb61 ("manifest: Fix crash on startup when trying to clean up
      unused files (#5840)") changed the config layer stored in manifests
      from a pointer to a value. This was done in order to avoid potential
      nil pointer dereferences after it is deserialized from JSON in the
      event that the field is missing.
      
      This changes the Layers slice to also be stored by value. This enables
      consistency in handling across the two objects.
      7edaf6e7
  3. 07 Aug, 2024 1 commit
    • 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
  4. 02 Aug, 2024 1 commit
  5. 01 Jul, 2024 1 commit
  6. 10 Jun, 2024 1 commit
  7. 04 Jun, 2024 1 commit
  8. 14 May, 2024 4 commits
  9. 07 May, 2024 1 commit