Try Claude before Codex in the central profiles (#25)
Co-authored-by: Danny Kim <temeddix@gmail.com> Co-committed-by: Danny Kim <temeddix@gmail.com>
This commit was merged in pull request #25.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user