test: add xhigh coverage for shared-handle model tier selection (#867)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user