fix: keep oauth profile stable

This commit is contained in:
Peter Steinberger
2026-01-06 19:43:28 +00:00
parent 1bc3461800
commit 118c1e1042
3 changed files with 9 additions and 8 deletions

View File

@@ -145,7 +145,7 @@ describe("resolveAuthProfileOrder", () => {
},
provider: "anthropic",
});
expect(order).toEqual(["anthropic:b", "anthropic:a", "anthropic:c"]);
expect(order).toEqual(["anthropic:a", "anthropic:b", "anthropic:c"]);
});
it("pushes cooldown profiles to the end, ordered by cooldown expiry", () => {