diff --git a/AGENTS.md b/AGENTS.md index 84abb3f..7766b54 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -79,7 +79,7 @@ Current honest limitation: - the curated registry currently contains these supported models: - `qwen3-235b` -> `qwen/qwen3-235b-a22b-instruct-2507-fp8` - - `kimi-k2.6` -> `moonshotai/Kimi-K2.6` (default) + - `kimi-k2.6` -> `moonshotai/kimi-k2.6` (default) ## What the Repo Does and Does Not Do diff --git a/CHANGELOG.md b/CHANGELOG.md index d70d01f..ee82999 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## [Unreleased] -- Added `moonshotai/Kimi-K2.6` to the curated GonkaGate model registry under the `kimi-k2.6` model key and made it the default model. +- Added `moonshotai/kimi-k2.6` to the curated GonkaGate model registry under the `kimi-k2.6` model key and made it the default model. - The installer now fetches GonkaGate `GET /v1/models` after API key entry, requires every curated model to be live, and uses the live metadata for OpenClaw provider model catalog entries. - The installer now creates or updates `agents.defaults.models` with the curated GonkaGate allowlist so OpenClaw `/models` can switch between supported models. - Raised the minimum supported Node.js runtime for this package to Node 22.14+ so it matches current OpenClaw install support expectations. diff --git a/README.md b/README.md index 237194e..093b52c 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ This command checks: Current curated registry in this package: - `qwen3-235b` -> `qwen/qwen3-235b-a22b-instruct-2507-fp8` -- `kimi-k2.6` -> `moonshotai/Kimi-K2.6` (default) +- `kimi-k2.6` -> `moonshotai/kimi-k2.6` (default) ## What It Does diff --git a/src/constants/models.ts b/src/constants/models.ts index 6d78d8d..4082b0b 100644 --- a/src/constants/models.ts +++ b/src/constants/models.ts @@ -19,7 +19,7 @@ const curatedModelRegistry = [ { key: "kimi-k2.6", displayName: "Kimi K2.6", - modelId: "moonshotai/Kimi-K2.6", + modelId: "moonshotai/kimi-k2.6", description: "Recommended default for long-horizon coding and agentic workflows on GonkaGate.", isDefault: true } diff --git a/test/gonkagate-models.test.ts b/test/gonkagate-models.test.ts index 0bea0b7..8995bca 100644 --- a/test/gonkagate-models.test.ts +++ b/test/gonkagate-models.test.ts @@ -23,7 +23,7 @@ test("fetchCuratedGonkaGateModelCatalog fetches and maps live curated model meta object: "list", data: [ { - id: "moonshotai/Kimi-K2.6", + id: "moonshotai/kimi-k2.6", name: "Kimi K2.6 Live", object: "model" }, @@ -54,7 +54,7 @@ test("fetchCuratedGonkaGateModelCatalog fetches and maps live curated model meta name: "Qwen3 235B A22B Instruct 2507 FP8" }); assert.deepEqual(catalog[1]?.providerModel, { - id: "moonshotai/Kimi-K2.6", + id: "moonshotai/kimi-k2.6", name: "Kimi K2.6 Live" }); }); @@ -159,7 +159,7 @@ test("fetchCuratedGonkaGateModelCatalog rejects catalogs that omit a curated sup (error) => { assert.ok(error instanceof GonkaGateModelsError); assert.equal(error.kind, "missing_supported_models"); - assert.match(error.message, /moonshotai\/Kimi-K2\.6/); + assert.match(error.message, /moonshotai\/kimi-k2\.6/); return true; } ); diff --git a/test/models.test.ts b/test/models.test.ts index e005605..0406833 100644 --- a/test/models.test.ts +++ b/test/models.test.ts @@ -11,14 +11,14 @@ import { test("curated registry includes Kimi K2.6 as the default model", () => { assert.equal(DEFAULT_MODEL_KEY, "kimi-k2.6"); - assert.equal(DEFAULT_MODEL.modelId, "moonshotai/Kimi-K2.6"); + assert.equal(DEFAULT_MODEL.modelId, "moonshotai/kimi-k2.6"); assert.deepEqual(SUPPORTED_MODEL_KEYS, ["qwen3-235b", "kimi-k2.6"]); const kimi = requireSupportedModel("kimi-k2.6"); assert.equal(kimi.displayName, "Kimi K2.6"); - assert.equal(kimi.modelId, "moonshotai/Kimi-K2.6"); - assert.equal(toPrimaryModelRef(kimi), "openai/moonshotai/Kimi-K2.6"); + assert.equal(kimi.modelId, "moonshotai/kimi-k2.6"); + assert.equal(toPrimaryModelRef(kimi), "openai/moonshotai/kimi-k2.6"); assert.equal(DEFAULT_MODEL, kimi); assert.equal(getSupportedModelByKey("missing-model"), undefined); });