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

推荐订阅源

The GitHub Blog
The GitHub Blog
A
About on SuperTechFans
The Cloudflare Blog
G
Google Developers Blog
博客园_首页
Martin Fowler
Martin Fowler
Apple Machine Learning Research
Apple Machine Learning Research
L
LangChain Blog
D
Docker
C
Check Point Blog
T
Tailwind CSS Blog
博客园 - 司徒正美
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Hugging Face - Blog
Hugging Face - Blog
Microsoft Security Blog
Microsoft Security Blog
V
V2EX
博客园 - 叶小钗
T
The Blog of Author Tim Ferriss
酷 壳 – CoolShell
酷 壳 – CoolShell
IT之家
IT之家
M
MIT News - Artificial intelligence
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 【当耐特】
GbyAI
GbyAI

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
feat(providers): add GLM-5.2 support (#92796) · openclaw/...
steipete · 2026-06-14 · via Recent Commits to openclaw:main

@@ -39,10 +39,7 @@ describe("detectZaiEndpoint", () => {

3939

},

4040

{

4141

responses: {

42-

"https://api.z.ai/api/paas/v4/chat/completions::glm-5.1": {

43-

status: 404,

44-

body: { error: { message: "not found" } },

45-

},

42+

"https://api.z.ai/api/paas/v4/chat/completions::glm-5.1": { status: 404 },

4643

"https://open.bigmodel.cn/api/paas/v4/chat/completions::glm-5.1": { status: 200 },

4744

},

4845

expected: { endpoint: "cn", modelId: "glm-5.1" },

@@ -51,13 +48,17 @@ describe("detectZaiEndpoint", () => {

5148

responses: {

5249

"https://api.z.ai/api/paas/v4/chat/completions::glm-5.1": { status: 404 },

5350

"https://open.bigmodel.cn/api/paas/v4/chat/completions::glm-5.1": { status: 404 },

54-

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-5.1": { status: 200 },

51+

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-5.2": { status: 200 },

5552

},

56-

expected: { endpoint: "coding-global", modelId: "glm-5.1" },

53+

expected: { endpoint: "coding-global", modelId: "glm-5.2" },

5754

},

5855

{

5956

endpoint: "coding-global",

6057

responses: {

58+

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-5.2": {

59+

status: 404,

60+

body: { error: { message: "glm-5.2 unavailable" } },

61+

},

6162

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-5.1": {

6263

status: 404,

6364

body: { error: { message: "glm-5.1 unavailable" } },

@@ -66,9 +67,46 @@ describe("detectZaiEndpoint", () => {

6667

},

6768

expected: { endpoint: "coding-global", modelId: "glm-4.7" },

6869

},

70+

{

71+

endpoint: "coding-global",

72+

responses: {

73+

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-5.2": {

74+

status: 400,

75+

body: { code: 1311, msg: "model not included in the current plan" },

76+

},

77+

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-5.1": {

78+

status: 400,

79+

body: { code: 1211, msg: "model does not exist" },

80+

},

81+

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-4.7": { status: 200 },

82+

},

83+

expected: { endpoint: "coding-global", modelId: "glm-4.7" },

84+

},

85+

{

86+

endpoint: "coding-global",

87+

responses: {

88+

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-5.2": {

89+

status: 429,

90+

body: { error: { message: "rate limited" } },

91+

},

92+

},

93+

expected: null,

94+

},

6995

{

7096

endpoint: "coding-cn",

7197

responses: {

98+

"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions::glm-5.2": {

99+

status: 200,

100+

},

101+

},

102+

expected: { endpoint: "coding-cn", modelId: "glm-5.2" },

103+

},

104+

{

105+

endpoint: "coding-cn",

106+

responses: {

107+

"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions::glm-5.2": {

108+

status: 404,

109+

},

72110

"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions::glm-5.1": {

73111

status: 200,

74112

},

@@ -78,6 +116,10 @@ describe("detectZaiEndpoint", () => {

78116

{

79117

endpoint: "coding-cn",

80118

responses: {

119+

"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions::glm-5.2": {

120+

status: 404,

121+

body: { error: { message: "glm-5.2 unavailable" } },

122+

},

81123

"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions::glm-5.1": {

82124

status: 404,

83125

body: { error: { message: "glm-5.1 unavailable" } },

@@ -92,8 +134,12 @@ describe("detectZaiEndpoint", () => {

92134

responses: {

93135

"https://api.z.ai/api/paas/v4/chat/completions::glm-5.1": { status: 401 },

94136

"https://open.bigmodel.cn/api/paas/v4/chat/completions::glm-5.1": { status: 401 },

137+

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-5.2": { status: 401 },

95138

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-5.1": { status: 401 },

96139

"https://api.z.ai/api/coding/paas/v4/chat/completions::glm-4.7": { status: 401 },

140+

"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions::glm-5.2": {

141+

status: 401,

142+

},

97143

"https://open.bigmodel.cn/api/coding/paas/v4/chat/completions::glm-5.1": {

98144

status: 401,

99145

},