惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Check Point Blog
GbyAI
GbyAI
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
U
Unit 42
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Google DeepMind News
Google DeepMind News
Vercel News
Vercel News
美团技术团队
雷峰网
雷峰网
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
D
DataBreaches.Net
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
罗磊的独立博客
MyScale Blog
MyScale Blog
博客园_首页
IT之家
IT之家
F
Fortinet All Blogs
博客园 - Franky

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(opencode-go): add current Go models · openclaw/opencl...
steipete · 2026-06-21 · via Recent Commits to openclaw:main

@@ -87,9 +87,11 @@ describe("opencode-go provider plugin", () => {

8787

"deepseek-v4-pro",

8888

"glm-5",

8989

"glm-5.1",

90+

"glm-5.2",

9091

"hy3-preview",

9192

"kimi-k2.5",

9293

"kimi-k2.6",

94+

"kimi-k2.7-code",

9395

"mimo-v2-omni",

9496

"mimo-v2.5",

9597

"mimo-v2-pro",

@@ -125,6 +127,20 @@ describe("opencode-go provider plugin", () => {

125127

expect(deepSeekFlash.provider).toBe("opencode-go");

126128

expect(deepSeekFlash.name).toBe("DeepSeek V4 Flash");

127129130+

const glm52 = requireMapEntry(models, "glm-5.2");

131+

expect(glm52.api).toBe("openai-completions");

132+

expect(glm52.baseUrl).toBe("https://opencode.ai/zen/go/v1");

133+

expect(glm52.input).toEqual(["text"]);

134+

expect(glm52.reasoning).toBe(true);

135+

expect(glm52.contextWindow).toBe(1_000_000);

136+

expect(glm52.maxTokens).toBe(131_072);

137+

expect(glm52.cost).toEqual({

138+

input: 1.4,

139+

output: 4.4,

140+

cacheRead: 0.26,

141+

cacheWrite: 0,

142+

});

143+128144

const kimi = requireMapEntry(models, "kimi-k2.6");

129145

expect(kimi.api).toBe("openai-completions");

130146

expect(kimi.baseUrl).toBe("https://opencode.ai/zen/go/v1");

@@ -133,6 +149,19 @@ describe("opencode-go provider plugin", () => {

133149

expect(kimi.contextWindow).toBe(262_144);

134150

expect(kimi.maxTokens).toBe(65_536);

135151152+

const kimiCode = requireMapEntry(models, "kimi-k2.7-code");

153+

expect(kimiCode.api).toBe("openai-completions");

154+

expect(kimiCode.baseUrl).toBe("https://opencode.ai/zen/go/v1");

155+

expect(kimiCode.input).toEqual(["text", "image", "video"]);

156+

expect(kimiCode.contextWindow).toBe(262_144);

157+

expect(kimiCode.maxTokens).toBe(262_144);

158+

expect(kimiCode.cost).toEqual({

159+

input: 0.95,

160+

output: 4,

161+

cacheRead: 0.19,

162+

cacheWrite: 0,

163+

});

164+136165

const minimax = requireMapEntry(models, "minimax-m2.7");

137166

expect(minimax.api).toBe("anthropic-messages");

138167

expect(minimax.baseUrl).toBe("https://opencode.ai/zen/go");

@@ -220,13 +249,19 @@ describe("opencode-go provider plugin", () => {

220249

throw new Error("expected OpenCode Go static provider");

221250

}

222251

const deepSeekPro = result.provider.models.find((model) => model.id === "deepseek-v4-pro");

252+

const glm52 = result.provider.models.find((model) => model.id === "glm-5.2");

223253224-

expect(result.provider.models).toHaveLength(18);

254+

expect(result.provider.models).toHaveLength(20);

225255

expect(deepSeekPro).toMatchObject({

226256

provider: "opencode-go",

227257

contextWindow: 1_000_000,

228258

maxTokens: 384_000,

229259

});

260+

expect(glm52).toMatchObject({

261+

provider: "opencode-go",

262+

contextWindow: 1_000_000,

263+

maxTokens: 131_072,

264+

});

230265

});

231266232267

it("skips live OpenCode Go catalog discovery when no shared key is configured", async () => {

@@ -438,15 +473,15 @@ describe("opencode-go provider plugin", () => {

438473

provider: "opencode-go",

439474

model: {

440475

provider: "opencode-go",

441-

id: "kimi-k2.6",

442-

name: "Kimi K2.6",

476+

id: "kimi-k2.7-code",

477+

name: "Kimi K2.7 Code",

443478

api: "openai-completions",

444479

baseUrl: "https://opencode.ai/zen/go/v1",

445480

reasoning: true,

446-

input: ["text", "image"],

481+

input: ["text", "image", "video"],

447482

cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },

448483

contextWindow: 262_144,

449-

maxTokens: 65_536,

484+

maxTokens: 262_144,

450485

},

451486

} as never),

452487

"normalized Kimi model",