Skip to content

Commit 273cbcc

Browse files
committed
feat: update GLM base URL to z.ai Anthropic endpoint and set default model to GLM 4.7
1 parent 04df8cf commit 273cbcc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

config/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
{
4040
"name": "glm",
41-
"api_base_url": "https://api.z.ai/api/coding/paas/v4/chat/completions",
41+
"api_base_url": "https://api.z.ai/api/anthropic",
4242
"api_key": "$GLM_API_KEY",
4343
"models": ["glm-4.7", "glm-4.6", "glm-4.5", "glm-4-plus"],
4444
"transformer": { "use": [] }

config/glm-only.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"Providers": [
1111
{
1212
"name": "glm",
13-
"api_base_url": "https://api.z.ai/api/coding/paas/v4/chat/completions",
13+
"api_base_url": "https://api.z.ai/api/anthropic",
1414
"api_key": "$GLM_API_KEY",
1515
"models": [
1616
"glm-4.7",

0 commit comments

Comments
 (0)