




















@@ -1197,16 +1197,17 @@ describe("chat session controls", () => {
11971197const thinkingSelect = container.querySelector<HTMLSelectElement>(
11981198'select[data-chat-thinking-select="true"]',
11991199);
1200-const options = [...(thinkingSelect?.options ?? [])].map((option) => option.value);
120112001202-expect(options).toContain("adaptive");
1203-expect(options).toContain("xhigh");
1204-expect(options).toContain("max");
1201+expect([...(thinkingSelect?.options ?? [])].map((option) => option.value)).toEqual([
1202+"",
1203+"off",
1204+"adaptive",
1205+"xhigh",
1206+"max",
1207+]);
12051208expect(
1206-[...(thinkingSelect?.options ?? [])]
1207-.find((option) => option.value === "max")
1208-?.textContent?.trim(),
1209-).toBe("Override: maximum");
1209+[...(thinkingSelect?.options ?? [])].map((option) => option.textContent?.trim()),
1210+).toEqual(["Off", "Off", "Override: adaptive", "Override: xhigh", "Override: maximum"]);
12101211});
1211121212121213it("labels chat thinking default from the active session row", () => {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。