diff options
author | Ben Sima <ben@bsima.me> | 2025-02-04 21:18:03 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2025-02-04 21:18:03 -0500 |
commit | 9f5b334eb6d0f64460f14d76255b096777a46332 (patch) | |
tree | db357ca2a933456e1f35c17a1c85000fb5a64b9d /Omni/Bild/Sources.json | |
parent | 86ea51353c223cdc82cb8ebd013d58d70a7e646a (diff) |
Update ollama, llm-ollama, openai-python, llm
I couldn't use llm-ollama because it required some package upgrades, so I
started going down that rabbit hole and ended up 1) realizing that these
packages are way out of date now, and 2) fiddling with overrides to get
everything to work. I finally figured it out, the `postPatch` in ollama-python
was throwing me off for like half a day.
Anyway, one thing to note is that these are changing fast and I need to either
move onto nixpkgs unstable for python stuff, or maintain my own builds of all of
these. Not sure which is more appropriate right now.
Oh and I had to fixup some logging stuff in Biz/Storybook.py because ruff
started complaining about something, which is weird because I don't think the
version changed? But it was easy enough to change.
Diffstat (limited to 'Omni/Bild/Sources.json')
-rw-r--r-- | Omni/Bild/Sources.json | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/Omni/Bild/Sources.json b/Omni/Bild/Sources.json index 5d3706d..02472c3 100644 --- a/Omni/Bild/Sources.json +++ b/Omni/Bild/Sources.json @@ -69,12 +69,12 @@ "homepage": "https://llm.datasette.io", "owner": "simonw", "repo": "llm", - "rev": "0.13.1", - "sha256": "0305xpmigk219i2n1slgpz3jwvpx5pdp5s8dkjz85w75xivakbin", + "rev": "41d64a8f1239322e12aa11c17450054f0c654ed7", + "sha256": "1vyg0wmcxv8910iz4cx9vjb3y4fq28423p62cgzr308ra8jii719", "type": "tarball", - "url": "https://github.com/simonw/llm/archive/0.13.1.tar.gz", + "url": "https://github.com/simonw/llm/archive/41d64a8f1239322e12aa11c17450054f0c654ed7.tar.gz", "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz", - "version": "0.13.1" + "version": "0.21" }, "niv": { "branch": "master", @@ -152,10 +152,10 @@ "homepage": "", "owner": "nixos", "repo": "nixpkgs", - "rev": "a5e6a9e979367ee14f65d9c38119c30272f8455f", - "sha256": "08yfk81kpsizdzlbi8whpaarb0w0rw9aynlrvhn5gr5dfpv9hbsf", + "rev": "ff0654c494b7484c4854ddabecdb91b0b7f7c4d0", + "sha256": "0iq3ygljsf28qzlawdxyipd467ha9chy75sj938wgvxc4qaaipk6", "type": "tarball", - "url": "https://github.com/nixos/nixpkgs/archive/a5e6a9e979367ee14f65d9c38119c30272f8455f.tar.gz", + "url": "https://github.com/nixos/nixpkgs/archive/ff0654c494b7484c4854ddabecdb91b0b7f7c4d0.tar.gz", "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" }, "nvidia-patch-nixos": { @@ -170,6 +170,29 @@ "url": "https://github.com/icewind1991/nvidia-patch-nixos/archive/bb8ac52eff4c4e8df0a18ab444263f2619d0d25a.tar.gz", "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" }, + "ollama-python": { + "branch": "main", + "description": "Ollama Python library", + "homepage": "https://ollama.com", + "owner": "ollama", + "repo": "ollama-python", + "rev": "ee349ecc6d05ea57c9e91bc9345e2db3bc79bb5b", + "sha256": "1dkrdkw7gkr9ilfb34qh9vwm0231csg7raln69p00p4mvx2w53gi", + "type": "tarball", + "url": "https://github.com/ollama/ollama-python/archive/refs/tags/v0.4.5.tar.gz", + "url_template": "https://github.com/<owner>/<repo>/archive/refs/tags/v<version>.tar.gz", + "version": "0.4.5" + }, + "openai-python": { + "branch": "main", + "description": "The official Python library for the OpenAI API", + "homepage": "https://pypi.org/project/openai/", + "owner": "openai", + "repo": "https://github.com/openai/openai-python", + "rev": "5e3e4d1b0f16ccc4469a90a5bff09cafe0de7a2e", + "type": "git", + "version": "1.56.1" + }, "outlines": { "branch": "main", "description": "Generative Model Programming", |