You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refreshes the Neuralwatt Cloud preset, which still seeded retired models.
Model catalog. The offline roster now matches Neuralwatt's live /v1/models chat models (23 ids incl. flex/speed variants and the nw-* tracking aliases), with published context windows, output limits, input modalities and reasoning ladders. Live discovery stays authoritative and now skips non-chat decision models (mammoth-1). An untouched earlier seed roster is refreshed at startup on the official endpoint; edited rosters and custom destinations are left alone.
Reasoning replay on Chat Completions. Prior reasoning was not replayed for DeepSeek V4.1 Flash (and nw-flash), although Neuralwatt and DeepSeek require it once tools are present. The replay list now covers the reasoning models Neuralwatt documents. Gemma 4 stays off the list, following Google's guidance to strip thoughts between turns.
Kimi sampling. Kimi K3.1 Pro (nw-large) and the redirected kimi-k2.7-code omit temperature, top_p and penalties, matching Moonshot's fixed sampling and the existing Moonshot preset.
Usage estimates. Neuralwatt bills by GPU energy, but its catalog publishes per-token list prices. These are recorded as verified-derived expected prices so usage rows show a list-price estimate instead of no cost.
qwen3.6-35b keeps its existing thinking_budget path; the preset stays on the Chat Completions wire.
Docs: the API-key catalog note is added in English and Spanish (the only locales with that page), and structure/dashboard-and-usage.md and structure/providers-and-adapters.md record the price estimates and the roster refresh.
bun test tests/providers/registry-transport-alias.test.ts tests/providers/provider-registry-parity.test.ts tests/providers/model-discovery-skip-invalid-rows.test.ts tests/codex-integration/reasoning-effort.test.ts tests/ci-workflows/import-cycle-ratchet.test.ts tests/ci-workflows/structure-ssot.test.ts tests/ci-workflows/repo-hygiene.test.ts tests/test-layout.test.ts (Bun 1.4.4): 264 pass
bun test tests/ci-workflows/docs-spanish-localization.test.ts: 54 pass
bun run structure:check, file-size ratchet, bun run privacy:scan, bun run skill:surface:check, bun run docs:clients:check: pass
cd docs-site && bun install --frozen-lockfile && bun run build: pass
GUI checks: skipped by typecheck:gui:if-changed / lint:gui:if-changed / doctor:gui:if-changed (no gui/ changes)
Full suite (bun run test, Bun 1.4.4, Linux): run on this change and on the unchanged dev base. Both ended with exit 124 and 294 failing tests in this environment; the failing sets match except route-to-child-defaults "turning Desktop off on a first-party Home…", which also fails in isolation on unchanged dev (3/3). A Spanish localization failure found by this run is fixed in this PR. The completed full-suite result is left to CI.
Not covered: live requests against Neuralwatt with an API key.
Checklist
Scope stays focused and avoids unrelated cleanup.
Docs or release notes were updated when needed.
Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
Required local validation passed; commands, results, and any full-suite exception are documented.
I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.
Summary by CodeRabbit
New Features
Neuralwatt model catalogs now reflect available chat models, with updated support for model capabilities and reasoning behavior.
Existing saved Neuralwatt model selections are updated when they match the previous default roster; custom destinations and explicit context settings are preserved.
Token-based cost estimates are available for Neuralwatt models, including flexible-price variants.
Documentation
Neuralwatt’s model discovery, fallback models, reasoning behavior, and Kimi K3.1 Pro sampling settings are documented. Cost estimates are distinguished from Neuralwatt’s GPU-energy-based charges.
… prices
Refresh the Neuralwatt offline roster from its live /v1/models catalog and skip
non-chat decision models during discovery. Replay prior reasoning on Chat
Completions for the documented reasoning models, including DeepSeek V4.1 Flash
and its nw-flash alias. Keep the Kimi K3.1 Pro sampling rules and the legacy
kimi-k2.7-code rules, and keep qwen3.6-35b on its thinking_budget path.
Refresh only an untouched earlier seed roster.
Neuralwatt bills by GPU energy, but its catalog publishes per-token list prices.
Record them as verified-derived expected prices so usage rows show the
list-price equivalent instead of no cost.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewing files that changed from the base of the PR and between db62791 and 1e948af.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
Neuralwatt now uses live model discovery with seeded capability hints and a migration for matching saved rosters. The change also adds verified-derived token-price estimates, updates provider documentation, and expands tests for discovery, routing, reasoning replay, migration, and prices.
Changes: Neuralwatt provider
Layer / File(s)
Summary
Seeded model hints and live discovery src/providers/registry/model-seeds.ts, src/providers/registry/entries-core.ts, tests/providers/provider-registry-parity.test.ts, tests/providers/registry-transport-alias.test.ts, docs-site/src/content/docs/guides/api-key-catalog.md
Family definitions now derive the fallback roster and capability hints. The registry uses live discovery and filters out models with the decision task capability. Tests cover the roster, model settings, discovery, and reasoning replay. The guide describes discovery, fallback behavior, sampling restrictions, reasoning replay, and cost estimates.
A matching prior Neuralwatt seed can be replaced with the current hinted roster and its context, output, and default reasoning settings. Tests check migration projection. The provider notes describe the matching API destination and the limits of the repair.
Neuralwatt model prices are added as verified-derived estimates, including flex variants. Tests check price coverage and a flex-model price. The usage documentation notes that these estimates do not represent GPU-energy charges.
This change refreshes the Neuralwatt model catalog, reasoning replay, sampling rules and usage price estimates. No merge-blocking issue was found. Live Neuralwatt behavior and the CI result remain to be confirmed.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the main change: refreshing Neuralwatt models, reasoning replay, and usage prices. The changeset updates the Neuralwatt registry roster (model-seeds.ts, entries-core.ts, stale-model-ro…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: refreshing Neuralwatt models, reasoning replay, and usage prices. The changeset updates the Neuralwatt registry roster (model-seeds.ts, entries-core.ts, stale-model-roster-migration.ts), extends reasoning replay, and adds verified-derived expected prices in expected-prices.ts. The title is specific and concise, and it matches the PR objectives. The 'fix(providers):' prefix follows conventional commit style. Some secondary details, such as Kimi sampling omissions and the Spanish docs, are not named, which is acceptable because the title does not need to cover every detail.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
all PR quality gates passed; the review readiness checklist is complete.
Review readiness checklist
✅ Required local validation passed; commands, results, and any full-suite exception are documented.
✅ I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
✅ I resolved all correct Codex and CodeRabbit findings.
✅ My PR is ready for review.
✅ 4/4 boxes ticked.
This pull request has been marked Ready for Review.
The review-ready label marks this PR as ready; review automation runs independently.
Maintainers notified: @lidge-jun@Ingwannu
Maintainer integration into dev (MAINTAINERS.md, dev-only path), recorded before merge.
Head: 1e948af58d754c12a701d89f4041e2dbf05ee8f5. It is 4 commits behind dev at a79dde2301.
PR checks passing on this head: Catalog async contracts (ubuntu-latest), api usage, changes, ci, docker smoke, docs site build, enforce / enforce-target, enforce / resolve-pr, gates, hygiene / hygiene, label / label, npm-global ubuntu-latest, select windows runner, storage policy, structure gate, test changed, validate-source. The remaining jobs were skipped by the PR lane policy.
Local checks on the earlier head b5312cd9c2: bun run typecheck found no errors in 2,703 files. bun run test:changed ran 61,457 tests across 2,628 files: 61,151 passed, 298 skipped, and 8 failed. Seven of the failures also occur on plain dev on this host or come from the environment (codex-composed-acceptance, serving-runtimes, codex-cli-update-apply, ocx-child cargo/Rust). The eighth, link-pinned-sync-argv, reran green (16/16).
The regression was confirmed red to green. With src/providers/stale-model-roster-migration.ts reverted to dev, "Neuralwatt refreshes only the old seed" fails, and it passes with the change.
On this head, CI test changed first failed in tests/server/bounded-body.test.ts ("keeps the inter-chunk inactivity deadline after the first byte"), a timing test that this PR does not reach. It passed 54/54 three times locally on this head, and the rerun of the failed job passed.
The relaxed behind-dev gate was checked before merging:
(c) intervening dev commits change 122 files; overlap with PR files: structure/dashboard-and-usage.md,structure/providers-and-adapters.md; shared-class files touched by the PR: none
Overlap is limited to structure prose docs, under the coordinator's prose-overlap ruling. The hunks are in different paragraphs: structure/dashboard-and-usage.md dev at line 22 and this PR at line 334; structure/providers-and-adapters.md dev at line 317 and this PR at line 399. Merge-tree is clean. structure:check, typecheck, the focused tests, all 17 tests/ci-workflows/docs-*.test.ts files and the layout, ratchet and skill-ocx guards pass on the temporary merge: 24 test files, 0 failures.
Independent review (GPT-6.1 Terra): no code findings, and the only SHOULD (regression red/green) is now verified above. The roster, prices and context windows match Neuralwatt's public /v1/models catalog, and the migration replaces only an untouched old seed on the official endpoint.
I ticked the readiness checklist after doing this validation myself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refreshes the Neuralwatt Cloud preset, which still seeded retired models.
/v1/modelschat models (23 ids incl. flex/speed variants and thenw-*tracking aliases), with published context windows, output limits, input modalities and reasoning ladders. Live discovery stays authoritative and now skips non-chat decision models (mammoth-1). An untouched earlier seed roster is refreshed at startup on the official endpoint; edited rosters and custom destinations are left alone.nw-flash), although Neuralwatt and DeepSeek require it once tools are present. The replay list now covers the reasoning models Neuralwatt documents. Gemma 4 stays off the list, following Google's guidance to strip thoughts between turns.nw-large) and the redirectedkimi-k2.7-codeomittemperature,top_pand penalties, matching Moonshot's fixed sampling and the existing Moonshot preset.verified-derivedexpected prices so usage rows show a list-price estimate instead of no cost.qwen3.6-35bkeeps its existingthinking_budgetpath; the preset stays on the Chat Completions wire.structure/dashboard-and-usage.mdandstructure/providers-and-adapters.mdrecord the price estimates and the roster refresh.Sources: https://api.neuralwatt.com/v1/models (2026-11-21), https://docs.neuralwatt.com/api/chat-completions, https://api-docs.deepseek.com/guides/thinking_mode, https://platform.kimi.ai/docs/guide/use-kimi-k2-thinking-model
Verification
bun run typecheck,bun run typecheck:tsc: passbun test tests/providers/registry-transport-alias.test.ts tests/providers/provider-registry-parity.test.ts tests/providers/model-discovery-skip-invalid-rows.test.ts tests/codex-integration/reasoning-effort.test.ts tests/ci-workflows/import-cycle-ratchet.test.ts tests/ci-workflows/structure-ssot.test.ts tests/ci-workflows/repo-hygiene.test.ts tests/test-layout.test.ts(Bun 1.4.4): 264 passbun test tests/ci-workflows/docs-spanish-localization.test.ts: 54 passbun run structure:check, file-size ratchet,bun run privacy:scan,bun run skill:surface:check,bun run docs:clients:check: passcd docs-site && bun install --frozen-lockfile && bun run build: passtypecheck:gui:if-changed/lint:gui:if-changed/doctor:gui:if-changed(nogui/changes)bun run test, Bun 1.4.4, Linux): run on this change and on the unchangeddevbase. Both ended with exit 124 and 294 failing tests in this environment; the failing sets match exceptroute-to-child-defaults"turning Desktop off on a first-party Home…", which also fails in isolation on unchangeddev(3/3). A Spanish localization failure found by this run is fixed in this PR. The completed full-suite result is left to CI.Checklist
🤖 Generated with Claude Code
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
Required local validation passed; commands, results, and any full-suite exception are documented.
I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.
Summary by CodeRabbit