File size: 3,829 Bytes
9c8f76b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
  "models": {
    "providers": {
      "mimo": {
        "baseUrl": "https://token-plan-sgp.xiaomimimo.com/v1",
        "apiKey": "${MIMO_API_KEY}",
        "api": "openai-completions",
        "models": [
          { "id": "mimo-v2.5-pro", "name": "mimo-v2.5-pro", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 }
        ]
      },
      "nvidia": {
        "baseUrl": "https://integrate.api.nvidia.com/v1",
        "apiKey": "${NVIDIA_API_KEY}",
        "api": "openai-completions",
        "models": [
          { "id": "qwen/qwen3.5-397b-a17b", "name": "qwen/qwen3.5-397b-a17b", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 },
          { "id": "stepfun-ai/step-3.5-flash", "name": "stepfun-ai/step-3.5-flash", "input": ["text", "image"], "contextWindow": 256000, "maxTokens": 8192 },
          { "id": "moonshotai/kimi-k2.5", "name": "moonshotai/kimi-k2.5", "input": ["text", "image"], "contextWindow": 256000, "maxTokens": 8192 },
          { "id": "z-ai/glm4.7", "name": "z-ai/glm4.7", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 },
          { "id": "z-ai/glm5", "name": "z-ai/glm5", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 },
          { "id": "minimaxai/minimax-m2.5", "name": "minimaxai/minimax-m2.5", "input": ["text", "image"], "contextWindow": 192000, "maxTokens": 8192 }
        ]
      },
      "qiniu": {
        "baseUrl": "https://api.qnaigc.com/v1",
        "apiKey": "${QINIU_API_KEY}",
        "api": "openai-completions",
        "models": [
          { "id": "minimax/minimax-m2.5", "name": "minimax/minimax-m2.5", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 }
        ]
      },
      "silicon": {
        "baseUrl": "https://api.siliconflow.cn/v1",
        "apiKey": "${SF_API_KEY}",
        "api": "openai-completions",
        "models": [
          { "id": "Pro/MiniMaxAI/MiniMax-M2.5", "name": "Pro/MiniMaxAI/MiniMax-M2.5", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 }
        ]
      }
    }
  },
  "agents": { "defaults": { "model": { "primary": "${MODEL}" } } },
  "channels": {
    "feishu": {
      "enabled": true,  
      "domain": "feishu",
      "connectionMode": "websocket",
      "appId": "${FEISHU_APP_ID}",
      "appSecret": "${FEISHU_APP_SECRET}",
      "requireMention": true,
      "groupPolicy": "allowlist",
      "groupAllowFrom": ["ou_0ef973aed7697c8a1d7628b42c572f7d"],
      "groups": { "*": { "enabled": true } }
    }
  },
  "gateway": {
    "mode": "local", "bind": "lan", "port": 7860,
    "trustedProxies": ["0.0.0.0/0"],
    "auth": { "mode": "token", "token": "${OPENCLAW_GATEWAY_PASSWORD}" },
    "controlUi": {
      "allowInsecureAuth": true, 
      "dangerouslyDisableDeviceAuth": true, 
      "allowedOrigins": ["*"], 
      "dangerouslyAllowHostHeaderOriginFallback": true
    },
    "nodes": {
      "browser": {
        "mode": "auto"
      }
    }
  },
  "tools": {
    "profile": "full",
    "web": {
      "search": {
        "enabled": true,
        "provider": "brave",
        "maxResults": 5
      },
      "fetch": { "enabled": true }
    },
    "agentToAgent": { "enabled": true }
  },
  "browser": {
    "enabled": true,
    "headless": true,
    "noSandbox": true,
    "defaultProfile": "openclaw",
    "executablePath": "/root/.cache/ms-playwright/chromium/chrome-linux64/chrome"
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto",
    "restart": true,
    "ownerDisplay": "raw"
  },
  "session": {
    "maintenance": {
      "mode": "enforce",
      "resetArchiveRetention": "1d"
    }
  },
  "plugins": {
    "entries": {
      "brave": {
        "config": {
          "webSearch": {
            "apiKey": "${BRAVE_KEY}"
          }
        }
      }
    }
  }
}