@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 03:37 UTC

main
ts 14 lines 509 Bytes
Raw
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 });