The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { assert, it } from "@effect/vitest"; |
| 2 | |
| 3 | import { ProviderInstanceId } from "@t3tools/contracts"; |
| 4 | import { createModelSelection } from "@t3tools/shared/model"; |
| 5 | |
| 6 | import { getCodexServiceTierOptionValue } from "./codexModelOptions.ts"; |
| 7 | |
| 8 | it("keeps legacy persisted fast mode selections working", () => { |
| 9 | const selection = createModelSelection(ProviderInstanceId.make("codex"), "gpt-5.4", [ |
| 10 | { id: "fastMode", value: true }, |
| 11 | ]); |
| 12 | |
| 13 | assert.equal(getCodexServiceTierOptionValue(selection), "fast"); |
| 14 | }); |