mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 18:04:32 +00:00
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:
committed by
GitHub
parent
eb3e9c649b
commit
744892de72
@@ -10,6 +10,7 @@ Docs: https://docs.openclaw.ai
|
|||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
|
- Thinking: allow xhigh for `github-copilot/gpt-5.2-codex` and `github-copilot/gpt-5.2`. (#11646) Thanks @seans-openclawbot.
|
||||||
- Discord: support forum/media `thread create` starter messages, wire `message thread create --message`, and harden thread-create routing. (#10062) Thanks @jarvis89757.
|
- Discord: support forum/media `thread create` starter messages, wire `message thread create --message`, and harden thread-create routing. (#10062) Thanks @jarvis89757.
|
||||||
- Web UI: make chat refresh smoothly scroll to the latest messages and suppress new-messages badge flash during manual refresh.
|
- Web UI: make chat refresh smoothly scroll to the latest messages and suppress new-messages badge flash during manual refresh.
|
||||||
- Cron: route text-only isolated agent announces through the shared subagent announce flow; add exponential backoff for repeated errors; preserve future `nextRunAtMs` on restart; include current-boundary schedule matches; prevent stale threadId reuse across targets; and add per-job execution timeout. (#11641) Thanks @tyler6204.
|
- Cron: route text-only isolated agent announces through the shared subagent announce flow; add exponential backoff for repeated errors; preserve future `nextRunAtMs` on restart; include current-boundary schedule matches; prevent stale threadId reuse across targets; and add per-job execution timeout. (#11641) Thanks @tyler6204.
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ describe("directive behavior", () => {
|
|||||||
|
|
||||||
const texts = (Array.isArray(res) ? res : [res]).map((entry) => entry?.text).filter(Boolean);
|
const texts = (Array.isArray(res) ? res : [res]).map((entry) => entry?.text).filter(Boolean);
|
||||||
expect(texts).toContain(
|
expect(texts).toContain(
|
||||||
'Thinking level "xhigh" is only supported for openai/gpt-5.2, openai-codex/gpt-5.3-codex, openai-codex/gpt-5.2-codex or openai-codex/gpt-5.1-codex.',
|
'Thinking level "xhigh" is only supported for openai/gpt-5.2, openai-codex/gpt-5.3-codex, openai-codex/gpt-5.2-codex, openai-codex/gpt-5.1-codex, github-copilot/gpt-5.2-codex or github-copilot/gpt-5.2.',
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -50,6 +50,11 @@ describe("listThinkingLevels", () => {
|
|||||||
expect(listThinkingLevels("openai", "gpt-5.2")).toContain("xhigh");
|
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", () => {
|
it("excludes xhigh for non-codex models", () => {
|
||||||
expect(listThinkingLevels(undefined, "gpt-4.1-mini")).not.toContain("xhigh");
|
expect(listThinkingLevels(undefined, "gpt-4.1-mini")).not.toContain("xhigh");
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ export const XHIGH_MODEL_REFS = [
|
|||||||
"openai-codex/gpt-5.3-codex",
|
"openai-codex/gpt-5.3-codex",
|
||||||
"openai-codex/gpt-5.2-codex",
|
"openai-codex/gpt-5.2-codex",
|
||||||
"openai-codex/gpt-5.1-codex",
|
"openai-codex/gpt-5.1-codex",
|
||||||
|
"github-copilot/gpt-5.2-codex",
|
||||||
|
"github-copilot/gpt-5.2",
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
const XHIGH_MODEL_SET = new Set(XHIGH_MODEL_REFS.map((entry) => entry.toLowerCase()));
|
const XHIGH_MODEL_SET = new Set(XHIGH_MODEL_REFS.map((entry) => entry.toLowerCase()));
|
||||||
|
|||||||
Reference in New Issue
Block a user