Skip to content

Sference Switch v0.1.5 (Beta)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Sep 12:03
· 14 commits to main since this release
333c62e

Sference Switch v0.1.5

Fixes a v0.1.4 regression that made most 1M-context models unusable from
Claude Code's /model picker. Upgrade from v0.1.4 is strongly recommended.

Selecting an entry like "[Sference] Kimi K3 (1M context)" failed
immediately with unknown gateway model "claude-sference-moonshotai-kimi-k3".

When a model's slug already has a hand-written alias in gateway.yaml,
duplicate suppression drops the derived bare id and publishes only the
[1m] id. Request resolution stripped the [1m] suffix before looking the
id up, so it searched for a key the alias set does not contain. Models
without a configured alias kept their derived bare id and worked, which
is why GLM-5.3 and GLM-5.3-Flash were fine while Kimi-K3, GLM-5.2 and
DeepSeek-V4-Flash — the models the shipped gateway.yaml names — were not.

Resolution now tries the exact requested id first and falls back to the
stripped form, so every id the picker publishes routes, and a [1m]
suffix typed onto an undecorated alias still resolves.