feat(github-copilot): add Claude Opus 4.8 to default model catalog · openclaw/openclaw@fbb776d
saju01
·
2026-06-01
·
via Recent Commits to openclaw:main
File tree
extensions/github-copilot
| Original file line number | Diff line number | Diff line change |
|---|
@@ -14,6 +14,7 @@ const DEFAULT_MAX_TOKENS = 8192;
|
14 | 14 | const DEFAULT_MODEL_IDS = [ |
15 | 15 | "claude-opus-4.6", |
16 | 16 | "claude-opus-4.7", |
| 17 | +"claude-opus-4.8", |
17 | 18 | "claude-sonnet-4.6", |
18 | 19 | "gemini-2.5-pro", |
19 | 20 | "gemini-3-flash", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -59,6 +59,10 @@ describe("github-copilot model defaults", () => {
|
59 | 59 | expect(getDefaultCopilotModelIds()).toContain("claude-opus-4.6"); |
60 | 60 | }); |
61 | 61 | |
| 62 | +it("includes claude-opus-4.8", () => { |
| 63 | +expect(getDefaultCopilotModelIds()).toContain("claude-opus-4.8"); |
| 64 | +}); |
| 65 | + |
62 | 66 | it("includes claude-sonnet-4.6", () => { |
63 | 67 | expect(getDefaultCopilotModelIds()).toContain("claude-sonnet-4.6"); |
64 | 68 | }); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -42,6 +42,15 @@
|
42 | 42 | "maxTokens": 8192, |
43 | 43 | "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 } |
44 | 44 | }, |
| 45 | + { |
| 46 | +"id": "claude-opus-4.8", |
| 47 | +"name": "Claude Opus 4.8", |
| 48 | +"api": "anthropic-messages", |
| 49 | +"input": ["text", "image"], |
| 50 | +"contextWindow": 128000, |
| 51 | +"maxTokens": 8192, |
| 52 | +"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 } |
| 53 | + }, |
45 | 54 | { |
46 | 55 | "id": "claude-sonnet-4.6", |
47 | 56 | "name": "Claude Sonnet 4.6", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。