github vava-nessa/free-coding-models v0.5.36

latest releases: v0.6.1, v0.6.0, v0.5.99...
4 months ago

Fixed

  • Router priority ordering now respects explicit priority over circuit state. Previously, routing candidates were ordered strictly by circuit state (CLOSED candidates always before HALF_OPEN), then by priority and health score. This meant a high-priority model sitting in HALF_OPEN recovery could be skipped in favor of a lower-priority CLOSED model — defeating the whole point of explicit priority levels. The comparator now sorts by explicit priority first, then by circuit state (CLOSED before HALF_OPEN), then by health score. Higher-priority models are never again jumped over just because they are mid-recovery.

Changed

  • Probe loop hardening. scheduleProbeLoop() now clears a stale probeWatchdog timer alongside the main probe timer, tracks lastProbeAt timestamps after every successful cycle, and wraps the scheduling body in a try/catch so a single failed probe cycle can no longer destabilize the background routing daemon. Results in more reliable health-check cadences across the CLI, web, and Tauri surfaces (shared core).

Added

  • Public re-exports of the provider-key-test helpers from key-handler.js (buildProviderModelsUrl, parseProviderModelIds, listProviderTestModels, classifyProviderTestOutcome, buildProviderTestDetail). Completes the shared-module refactor introduced in #121 (provider key testing moved to src/core/provider-key-tester.js) so the TUI key-handler exposes the same surface other modules already consume.

Docs

  • Credited @MoriDanWork in the README contributors table and the AGENTS.md contributor list for PR #121 (move provider key testing to a shared module).

Don't miss a new free-coding-models release

NewReleases is sending notifications on new releases.