Add Claude Sonnet 4.6 and 4.5 to GitHub Copilot model catalog (openclaw#20270) thanks @Clawborn

Verified:
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: Clawborn <261310391+Clawborn@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
Clawborn
2026-02-20 11:54:52 +08:00
committed by GitHub
parent c1ac37a641
commit cbcc75f6c7
3 changed files with 42 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ const DEFAULT_MAX_TOKENS = 8192;
// We keep this list intentionally broad; if a model isn't available Copilot will
// return an error and users can remove it from their config.
const DEFAULT_MODEL_IDS = [
"claude-sonnet-4.6",
"claude-sonnet-4.5",
"gpt-4o",
"gpt-4.1",
"gpt-4.1-mini",