File size: 1,203 Bytes
e7ab5f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
  "gateway": {
    "mode": "local",
    "bind": "lan",
    "port": 7860,
    "auth": { "token": "openclaw-space-default" },
    "controlUi": {
      "allowInsecureAuth": true,
      "allowedOrigins": [
        "https://huggingface.co"
      ]
    }
  },
  "session": { "scope": "global" },
  "models": {
    "mode": "merge",
    "providers": {
      "zhipu": {
        "baseUrl": "https://open.bigmodel.cn/api/paas/v4",
        "apiKey": "${ZHIPU_API_KEY}",
        "api": "openai-completions",
        "models": [
          {
            "id": "glm-4-plus",
            "name": "GLM-4 Plus"
          },
          {
            "id": "glm-4-flash",
            "name": "GLM-4 Flash"
          }
        ]
      },
      "hf": {
        "baseUrl": "https://router.huggingface.co/v1",
        "apiKey": "${HF_TOKEN}",
        "api": "openai-completions",
        "models": [
          { "id": "Qwen/Qwen2.5-7B-Instruct", "name": "Qwen2.5 7B (HF Router)" }
        ]
      }
    }
  },
  "plugins": { "entries": { "whatsapp": { "enabled": true } } },
  "agents": {
    "defaults": {
      "workspace": "~/.openclaw/workspace",
      "model": {
        "primary": "zhipu/glm-4-flash"
      }
    }
  }
}