Move the catalog tier from the x-nous-catalog-tier request header to a catalogTier property on each model. pi forwards only model.headers to the provider and copies them into the request options, so a header needed stripping on both the model and the options before every request; that adapter leaked for two audit rounds. A property never reaches the wire, survives pi's model store, and needs no wrapper, so TIER_HEADER, untier and withoutTierHeader are deleted and pi's stream passes through untouched. Models stored by the previous version come back without the property until the next interactive start rewrites the store; the CHANGELOG tells the user to start pi once interactively after upgrading.
17 lines
1.2 KiB
Markdown
17 lines
1.2 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file. The format is based on [Common Changelog](https://common-changelog.org) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
## [Unreleased]
|
|
|
|
### Added
|
|
|
|
- Native `nous-portal` provider: device-code OAuth (subscription) and API-key login, with the OAuth access token used directly as the inference bearer credential.
|
|
- Live model discovery from `inference-api.nousresearch.com/v1/models`, delegated to pi's built-in `openai-completions` streaming.
|
|
- Offline baseline catalog so `pi -p` and `pi --list-models` stay usable without a network fetch.
|
|
- `/nous-catalog` cycles `/model` between full, free and promo catalogs; `/nous-free` jumps to free. Switching never touches a session on another provider, and swaps the current model only if it was filtered out.
|
|
|
|
### Changed
|
|
|
|
- The catalog tier rides on each model as the `catalogTier` property instead of the `x-nous-catalog-tier` request header, so requests are no longer rewritten to strip it. After upgrading, start pi once interactively so persisted models pick up the new carrier; until then, a non-interactive run with the free or promo catalog active lists no Nous models.
|