feat: refine mobile master agent sync and chat rendering

This commit is contained in:
kris
2026-04-18 04:51:50 +08:00
parent e0c0ea1814
commit 449f84fcbc
61 changed files with 7051 additions and 1075 deletions

View File

@@ -0,0 +1,17 @@
import test from "node:test";
import assert from "node:assert/strict";
import { getMasterAgentModelOptions } from "../src/lib/master-agent-model-options";
test("主 Agent 模型选项会明确暴露快反和深思模型", () => {
assert.deepEqual(
getMasterAgentModelOptions(),
["gpt-5.4-mini", "gpt-5.4", "gpt-5.1", "gpt-4.1"],
);
});
test("主 Agent 模型选项会保留当前自定义模型", () => {
assert.deepEqual(
getMasterAgentModelOptions("gpt-4.1-mini"),
["gpt-4.1-mini", "gpt-5.4-mini", "gpt-5.4", "gpt-5.1", "gpt-4.1"],
);
});