Add GitHub Copilot models to xhigh list (#11646)

* Add GitHub Copilot models to xhigh list

* fix(thinking): add xhigh copilot tests and changelog (#11646) (thanks @seans-openclawbot)

---------

Co-authored-by: Sean Dai <sdai@gatech.edu>
Co-authored-by: Sebastian <19554889+sebslight@users.noreply.github.com>
This commit is contained in:
seans-openclawbot
2026-02-08 08:45:59 -05:00
committed by GitHub
parent eb3e9c649b
commit 744892de72
4 changed files with 9 additions and 1 deletions

View File

@@ -50,6 +50,11 @@ describe("listThinkingLevels", () => {
expect(listThinkingLevels("openai", "gpt-5.2")).toContain("xhigh");
});
it("includes xhigh for github-copilot gpt-5.2 refs", () => {
expect(listThinkingLevels("github-copilot", "gpt-5.2")).toContain("xhigh");
expect(listThinkingLevels("github-copilot", "gpt-5.2-codex")).toContain("xhigh");
});
it("excludes xhigh for non-codex models", () => {
expect(listThinkingLevels(undefined, "gpt-4.1-mini")).not.toContain("xhigh");
});