From c6017f461b195cc54642c2c91fa6ce2ee4d15b87 Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Sun, 5 Apr 2026 13:59:45 -0700 Subject: [PATCH] docs: v0.36.2 release notes and version bump Co-authored-by: Nathan Esquenazi --- CHANGELOG.md | 9 +++++++++ TESTING.md | 2 +- static/index.html | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39e9506..def8e84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ --- +## [v0.36.2] OpenRouter model routing fix +*April 5, 2026 | 440 tests* + +### Bug Fixes +- **OpenRouter models sent without prefix, causing 404 (#116).** `resolve_model_provider()` was stripping the `openrouter/` prefix from model IDs (e.g. sending `free` instead of `openrouter/free`) when `config_provider == 'openrouter'`. OpenRouter requires the full `provider/model` path to route upstream correctly. Fixed with an early return that preserves the complete model ID for all OpenRouter configs. (#127) +- Added 7 unit tests for `resolve_model_provider()` — first coverage on this function. Tests the regression, cross-provider routing, direct-API prefix stripping, bare models, and empty model. + +--- + ## [v0.36.1] Login form Enter key fix *April 5, 2026 | 433 tests* diff --git a/TESTING.md b/TESTING.md index ae497d2..8980504 100644 --- a/TESTING.md +++ b/TESTING.md @@ -1709,7 +1709,7 @@ Each has automated API-level tests in `tests/test_sprint{N}.py`. --- *Last updated: Sprint 26 / v0.36, April 5, 2026* -*Total automated tests: 433 (433 passing, 0 failures)* +*Total automated tests: 440 (440 passing, 0 failures)* *Regression gate: tests/test_regressions.py* *Run: pytest tests/ -v --timeout=60* *Source: /* diff --git a/static/index.html b/static/index.html index 471a99a..c55d7e3 100644 --- a/static/index.html +++ b/static/index.html @@ -14,7 +14,7 @@