FN-5824: add MiniMax-M3 support examples
Update MiniMax model references to MiniMax-M3 across runtime UI, docs, and tests. - Update Hermes and OpenClaw model input placeholders to show MiniMax-M3 examples - Refresh Hermes runtime README and CLI parsing comment examples to MiniMax-M3 - Adjust dashboard usage test expectations from MiniMax-M* to MiniMax-M3 - Add Hermes runtime adapter coverage to ensure MiniMax-M3 is passed through unchanged Files changed: packages/dashboard/app/components/HermesRuntimeCard.tsx | 2 +- packages/dashboard/app/components/OpenClawRuntimeCard.tsx | 2 +- packages/dashboard/src/__tests__/usage.test.ts | 4 ++-- plugins/fusion-plugin-hermes-runtime/README.md | 2 +- .../src/__tests__/runtime-adapter.test.ts | 9 +++++++++ plugins/fusion-plugin-hermes-runtime/src/cli-spawn.ts | 2 +- 6 files changed, 15 insertions(+), 6 deletions(-) Fusion-Task-Id: FN-5824 Fusion-Task-Lineage: d9524280-be33-49f8-83d8-ac9b963164f8
This commit is contained in:
@@ -314,7 +314,7 @@ export function HermesRuntimeCard() {
|
||||
<input
|
||||
id="hermes-model"
|
||||
type="text"
|
||||
placeholder="e.g. claude-sonnet-4-5, MiniMax-M2.7"
|
||||
placeholder="e.g. claude-sonnet-4-5, MiniMax-M3"
|
||||
value={settings.model}
|
||||
disabled={!!settings.profile}
|
||||
onChange={(e) => setSettings((s) => ({ ...s, model: e.target.value }))}
|
||||
|
||||
@@ -277,7 +277,7 @@ export function OpenClawRuntimeCard() {
|
||||
<input
|
||||
id="openclaw-model"
|
||||
type="text"
|
||||
placeholder="e.g. anthropic/claude-haiku-4-5, minimax/MiniMax-M2.7"
|
||||
placeholder="e.g. anthropic/claude-haiku-4-5, minimax/MiniMax-M3"
|
||||
value={settings.model}
|
||||
onChange={(e) => setSettings((s) => ({ ...s, model: e.target.value }))}
|
||||
/>
|
||||
|
||||
@@ -2536,7 +2536,7 @@ describe("usage", () => {
|
||||
const mockResponse = {
|
||||
model_remains: [
|
||||
{
|
||||
model_name: "MiniMax-M*",
|
||||
model_name: "MiniMax-M3",
|
||||
current_interval_total_count: 4500,
|
||||
// Note: current_interval_usage_count is actually REMAINING, not used
|
||||
current_interval_usage_count: 4000,
|
||||
@@ -2596,7 +2596,7 @@ describe("usage", () => {
|
||||
expect(minimax.status).toBe("ok");
|
||||
expect(minimax.windows).toHaveLength(2);
|
||||
|
||||
const textWindow = minimax.windows.find((w) => w.label === "MiniMax-M*")!;
|
||||
const textWindow = minimax.windows.find((w) => w.label === "MiniMax-M3")!;
|
||||
expect(textWindow).toBeDefined();
|
||||
// total=4500, remaining=4000, used=500 → 500/4500*100 ≈ 11.1%
|
||||
expect(textWindow.percentUsed).toBeCloseTo(11.1, 0);
|
||||
|
||||
Reference in New Issue
Block a user