test: add xhigh coverage for shared-handle model tier selection (#867)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-02-08 19:33:13 -08:00
committed by GitHub
parent 7efa6f60b5
commit 498d9ad539

View File

@@ -11,6 +11,11 @@ describe("getModelInfoForLlmConfig", () => {
const none = getModelInfoForLlmConfig(handle, { reasoning_effort: "none" });
expect(none?.id).toBe("gpt-5.2-none");
const xhigh = getModelInfoForLlmConfig(handle, {
reasoning_effort: "xhigh",
});
expect(xhigh?.id).toBe("gpt-5.2-xhigh");
});
test("falls back to first handle match when effort missing", () => {