test: tighten minimax onboard model assertion · openclaw/openclaw@8bee6f5
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -24,7 +24,15 @@ describe("minimax onboard", () => {
|
24 | 24 | it("keeps MiniMax chat models text-only so image tools use MiniMax-VL-01", () => { |
25 | 25 | const cfg = applyMinimaxApiConfig({}, "MiniMax-M2.7-highspeed"); |
26 | 26 | expect(cfg.models?.providers?.minimax?.models).toEqual([ |
27 | | -expect.objectContaining({ id: "MiniMax-M2.7-highspeed", input: ["text"] }), |
| 27 | +{ |
| 28 | +id: "MiniMax-M2.7-highspeed", |
| 29 | +name: "MiniMax M2.7 Highspeed", |
| 30 | +reasoning: true, |
| 31 | +input: ["text"], |
| 32 | +cost: { input: 0.6, output: 2.4, cacheRead: 0.06, cacheWrite: 0.375 }, |
| 33 | +contextWindow: 204800, |
| 34 | +maxTokens: 131072, |
| 35 | +}, |
28 | 36 | ]); |
29 | 37 | }); |
30 | 38 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。