Skip to content

v0.1.12

Choose a tag to compare

@egoist egoist released this 30 Nov 23:26
· 23 commits to main since this release

What's Changed

Fixes

  • Model catalog after upgrading to v0.1.11: the provider picker showed only the 9 built-in providers. v0.1.11 moved the catalog cache to a new file and nothing downloaded it again. oi now fetches the full catalog (300+ providers) on its own and deletes the old ~/.cache/oi/models.json.
  • Downloads from servers that use zstd compression: oi asked for zstd responses but rejected them, and once accepted, its zstd buffer was too small. Responses from Cloudflare-hosted sites, oi's own catalog among them, failed to download.

Improvements

  • The catalog stays current in the background. Interactive sessions, oi rpc and oi serve check for a newer catalog at launch and when you open a model list, at most once an hour. Launch never waits for the check. It sends the cached ETag, so an unchanged catalog costs one small request, and a new one shows up in the running session without a restart. OI_OFFLINE=1 still turns all fetching off.
  • oi models downloads the full catalog when none is cached yet, not only when you search.

Full Changelog: v0.1.11...v0.1.12