Try Claude before Codex in the central profiles
Agents / agent (pull_request) Has been cancelled
Check / check (pull_request) Successful in 8m7s

This commit is contained in:
Danny Kim
2026-10-20 23:05:31 +09:00
parent 063eb09750
commit 59fc2d9055
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -229,7 +229,7 @@ test("profile preparation does not receive provider credentials", async () => {
expect(runner.includes("prepareProfile(profile, token)")).toBe(false);
});
test("central profiles fall back from Codex to Claude to OpenCode", async () => {
test("central profiles fall back from Claude to Codex to OpenCode", async () => {
const credentials: unknown = JSON.parse(
await readFile("profiles.json", "utf8"),
);
@@ -238,8 +238,8 @@ test("central profiles fall back from Codex to Claude to OpenCode", async () =>
"profiles",
);
expect(profiles.map((profile) => profile.get("type"))).toStrictEqual([
"CODEX",
"CLAUDE",
"CODEX",
"OPENCODE",
]);
expect(profiles[2]?.get("model")).toBe("openrouter/qwen/qwen3.8-27b");