address review: fix test, changelog and models.json newline

- Update packages/catalog/test/meta-provider.test.ts to expect
  three META_MUSE_STATIC_MODELS entries (1.1, 1.2, contributor)
  with input ["text","image"] — fixes blocking failure.

- Add ## [Unreleased] entry in packages/catalog/CHANGELOG.md per
  AGENTS.md.

- Remove trailing newline from models.json to match
  generate-models.ts (Bun.write without \n).

Co-authored-by: roboomp <roboomp@users.noreply.github.com>
This commit is contained in:
Chen Buskilla
2026-08-09 18:50:43 +03:00
parent c8007f18cd
commit 7d7964c14b
3 changed files with 45 additions and 2 deletions
+4
View File
@@ -2,6 +2,10 @@
## [Unreleased]
### Fixed
- Marked `meta/muse-spark-1.2` and `muse-spark-1.2-contributor` as image-capable (`input: ["text", "image"]`) with the same Responses reasoning, thinking, and cost metadata as `muse-spark-1.1` (contributor uses its discounted 0.1/0.2 pricing), so `omp models` no longer lists them as text-only.
## [17.2.12] - 2026-08-08
### Fixed
+1 -1
View File
@@ -109424,4 +109424,4 @@
}
}
}
}
}
+40 -1
View File
@@ -26,8 +26,47 @@ describe("Meta Model API provider", () => {
includeEncryptedReasoning: true,
},
},
{
id: "muse-spark-1.2",
name: "Muse Spark 1.2",
api: "openai-responses",
provider: "meta",
baseUrl: "https://api.meta.ai/v1",
reasoning: true,
input: ["text", "image"],
cost: { input: 1.25, output: 4.25, cacheRead: 0.15, cacheWrite: 0 },
contextWindow: 1_048_576,
maxTokens: 131_072,
thinking: {
mode: "effort",
efforts: [Effort.Minimal, Effort.Low, Effort.Medium, Effort.High, Effort.XHigh],
},
compat: {
supportsReasoningEffort: true,
includeEncryptedReasoning: true,
},
},
{
id: "muse-spark-1.2-contributor",
name: "Muse Spark 1.2 Contributor (Data Used for Training)",
api: "openai-responses",
provider: "meta",
baseUrl: "https://api.meta.ai/v1",
reasoning: true,
input: ["text", "image"],
cost: { input: 0.1, output: 0.2, cacheRead: 0.002, cacheWrite: 0 },
contextWindow: 1_048_576,
maxTokens: 131_072,
thinking: {
mode: "effort",
efforts: [Effort.Minimal, Effort.Low, Effort.Medium, Effort.High, Effort.XHigh],
},
compat: {
supportsReasoningEffort: true,
includeEncryptedReasoning: true,
},
},
]);
const options = metaModelManagerOptions();
expect(options.providerId).toBe("meta");
expect(options.staticModels).toEqual(META_MUSE_STATIC_MODELS);