Files
nous-portal/CHANGELOG.md
T
AlexKucera b9065d409c fix: address round-2 review findings
- apply(): only swap the current model when a Nous model was filtered
  out; a session on another provider is left alone, and the notice names
  the model actually in use instead of the first catalog hit.
- Device-code poll floors the interval at 1s and treats a non-numeric
  interval as absent, matching pi-ai's own poller; interval: 0 from the
  server no longer becomes a tight loop.
- Drop the provider's own context.publish: createProvider already
  persists and publishes the fetchModels return value with checkedAt;
  the extra publish was a second, timestamp-less write each refresh.
- tokenRequest tolerates a literal null error body (data.error would
  have thrown TypeError, masking the HTTP status).
- tsconfig: remove allowImportingTsExtensions and baseUrl, both inert.
- .editorconfig covers .mjs.
- Tests: 14 (was 8). tokenRequest is exported and its HTML/null error
  paths are pinned; the no-credential test now sets NOUS_API_KEY so it
  fails if an env fallback returns; the slash commands are driven
  through a recording pi (switch/notice semantics, and persist-before-
  mutate on a failed flag write). Stub returns a private mkdtemp dir.
- CHANGELOG: /nous-catalog entry states the switch semantics.
2026-11-25 10:09:06 +01:00

876 B

Changelog

All notable changes to this project will be documented in this file. The format is based on Common Changelog and this project adheres to Semantic Versioning.

[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.