Skip to content

Router Core 92f77ec re-sync; release 1.24.1 - #122

Merged
VickyXAI merged 4 commits into
mainfrom
chore/deps-92f77ec
Nov 28, 2026
Merged

VickyXAI merged 4 commits into
mainfrom
chore/deps-92f77ec

Conversation

@VickyXAI

@VickyXAI VickyXAI commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

What

Re-syncs the router_core port to upstream @blockrun/router-core 92f77ec (router-core #20, a funded re-probe; was 53fe783) and releases 1.24.1.

Upstream only changed the capability snapshot, the performance profiles and model-capabilities.test.ts. config.ts, portfolio.ts, hardening.test.ts, retired-models.test.ts and decisions.snapshot.json are byte-identical to 53fe783, so no routing decision moves and all 88 cross-language snapshot decisions still match.

  • model_capabilities.py: regenerated from the 2026-11-28 model-capabilities.ts, same translation as Router Core 53fe783 re-sync; release 1.24.0 #119. The converter reproduces the 53fe783 port byte for byte before being run on 92f77ec. The 93 entries are equal, in order, to the built TS DEFAULT_MODEL_CAPABILITIES. Mistral Large 4, Qwen 3.8 Max, Qwen 3.8 Flash, Hunyuan 4 Preview and the newly listed GPT-6.1 Terra are now tool-capable. poolside/laguna-s-2.1 stays fail-closed: it answered 500 after payment twice on Base.
  • model_profiles.generated.json: copied from upstream (80 → 85 profiles, the five models above; existing profiles unchanged).
  • Commit markers 53fe783 → 92f77ec in router_core/__init__.py, config.py and the three router-core test modules.
  • Release 1.24.1: VERSION, pyproject.toml, __version__, CHANGELOG.

Tests

test_router_core.py::TestGeneratedModelCapabilitySnapshot mirrors upstream model-capabilities.test.ts. The five newly probed models join the "accepts a live probed tool call" list, qwen3.8-flash leaves the invalid-tool-response case, and the "unprobed" case becomes the Laguna S 2.1 fail-closed case. Net +2 tests.

Locally on Python 3.13: black --check . and ruff check . are clean, and pytest tests/unit gives 1669 passed. One earlier full run had a test_solana_poll_ownership.py::TestVideo failure: a 5s wall-clock poll budget expired while the machine's load average was about 50. Those tests pass alone and on the next full run, and they touch nothing in router_core.

Not merged, tagged, or published.

Follow-up commit: converter committed

scripts/port_router_core_capabilities.py regenerates model_capabilities.py from a router-core checkout (--router-core <path> --ref <sha>) or from a copy of model-capabilities.ts. --check compares without writing.

  • On 92f77ec it reproduces the committed file byte for byte.
  • On 53fe783 it reproduces the 1.24.0 port.
  • black and ruff are clean, and pytest tests/unit passes (1669).
  • CHANGELOG line added under 1.24.1.

1bcMax added 4 commits November 27, 2026 23:10
Ports router-core 53fe783..92f77ec (BlockRunAI/router-core #20, a funded
re-probe). config.ts, portfolio.ts and decisions.snapshot.json are unchanged
upstream; all 88 cross-language snapshot decisions still match.

- model_capabilities: regenerated from the 2026-11-28 model-capabilities.ts
  (93 entries, equal to the built TS DEFAULT_MODEL_CAPABILITIES). Mistral
  Large 4, Qwen 3.8 Max/Flash, HY4 Preview and the new GPT-6.1 Terra are
  tool-capable; Laguna S 2.1 stays fail-closed (500 after payment on Base).
  Same translation as 53fe783 (comments wrapped at 92 columns); it reproduces
  the previous port byte for byte from the 53fe783 source.
- model_profiles.generated.json copied (85 profiles, five new).
- tests: model-capabilities.test.ts changes ported to test_router_core.py
  (five models move to the probed list; the unprobed case becomes the
  Laguna S 2.1 fail-closed case). Commit markers 53fe783 -> 92f77ec.
scripts/port_router_core_capabilities.py translates upstream
src/model-capabilities.ts into blockrun_llm/router_core/model_capabilities.py:
same entries and order, override comments wrapped at 92 columns, catalog date
updated, the rest of the module header kept. It reads from a router-core
checkout (--router-core <path> --ref <sha>) or a copy of the .ts file, and
--check compares without writing.

Verified: on 92f77ec it reproduces the committed file byte for byte (93
entries), and on 53fe783 it reproduces the 1.24.0 port. Passes black and ruff
(pinned versions). CHANGELOG line under 1.24.1.
Adds GPT-6.2 Astra, GPT-6.1 Terra, Gemini 4 Neon and Hydrogen, and the three
models listed only on Solana (Meta Muse Wonder 1.0 and Spark 1.3, Reflection
Beam 1.0); marks Laguna S 2.1 as not for tool calls, matching llm-ts #132.
@VickyXAI
VickyXAI merged commit 986d1a0 into main Nov 28, 2026
6 checks passed
@VickyXAI
VickyXAI deleted the chore/deps-92f77ec branch November 28, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant