openclaw部署及qwen模型配置

环境说明:windows 10、node v25.2.1

网络环境:科学上网

1.部署

powershell 复制代码
npm i -g openclaw
openclaw onboard

# 常用命令
# 当dos窗口关闭后,可以使用下面窗口启动
openclaw gateway start
# 关闭gateway服务
openclaw gateway stop

2.卸载

powershell 复制代码
openclaw gateway stop
openclaw uninstall
npm uninstall -g openclaw

3.配置qwen

参考:https://help.aliyun.com/zh/model-studio/openclaw?spm=a2c4g.11186623.0.i1

openclaw.json完整配置(配置文件位置参考:C:\Users\PC2023.openclaw\openclaw.json):

json 复制代码
{
  "meta": {
    "lastTouchedVersion": "2026.3.8",
    "lastTouchedAt": "2026-03-11T03:33:57.186Z"
  },
  "wizard": {
    "lastRunAt": "2026-03-11T03:33:57.177Z",
    "lastRunVersion": "2026.3.8",
    "lastRunCommand": "onboard",
    "lastRunMode": "local"
  },
  "auth": {
    "profiles": {
      "openai:default": {
        "provider": "openai",
        "mode": "api_key"
      }
    }
  },
   "models": {
    "mode": "merge",
    "providers": {
      "bailian": {
        "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
        "apiKey": "sk-xxx",
        "api": "openai-completions",
        "models": [
          {
            "id": "qwen3.5-plus-2026-02-15",
            "name": "qwen3.5-plus-2026-02-15",
            "reasoning": false,
            "input": ["text", "image"],
            "contextWindow": 1000000,
            "maxTokens": 65536
          },
          {
            "id": "qwen3-coder-next",
            "name": "qwen3-coder-next",
            "reasoning": false,
            "input": ["text"],
            "contextWindow": 262144,
            "maxTokens": 65536
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "bailian/qwen3.5-plus-2026-02-15"
      },
      "models": {
        "bailian/qwen3.5-plus-2026-02-15": {}
      },
      "workspace": "C:\\Users\\PC2023\\.openclaw\\workspace",
      "compaction": {
        "mode": "safeguard"
      },
      "maxConcurrent": 4,
      "subagents": {
        "maxConcurrent": 8
      }
    }
  },
  "tools": {
    "profile": "coding"
  },
  "messages": {
    "ackReactionScope": "group-mentions"
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto",
    "restart": true,
    "ownerDisplay": "raw"
  },
  "session": {
    "dmScope": "per-channel-peer"
  },
  "hooks": {
    "internal": {
      "enabled": true,
      "entries": {
        "boot-md": {
          "enabled": true
        },
        "bootstrap-extra-files": {
          "enabled": true
        },
        "command-logger": {
          "enabled": true
        },
        "session-memory": {
          "enabled": true
        }
      }
    }
  },
  "gateway": {
    "port": 18789,
    "mode": "local",
    "bind": "loopback",
    "auth": {
      "mode": "token",
      "token": "517bb7c3b12e96ed570563ad4395a7a9acd6a379c25d2e74"
    },
    "tailscale": {
      "mode": "off",
      "resetOnExit": false
    },
    "nodes": {
      "denyCommands": [
        "camera.snap",
        "camera.clip",
        "screen.record",
        "contacts.add",
        "calendar.add",
        "reminders.add",
        "sms.send"
      ]
    }
  }
}

薅羊毛,阿里云百炼免费额度获取:
https://help.aliyun.com/zh/model-studio/new-free-quota?spm=a2ty02.33053938.0.0.8bd874a1jP2hOt

模型用量:
https://bailian.console.aliyun.com/cn-beijing/?spm=a2c4g.11186623.0.0.7d063ba2YN0MdO&tab=model#/model-usage/free-quota

4.最终效果

相关推荐
寒水馨4 小时前
macOS下载、安装openclaw-v2026.7.1(附安装包OpenClaw-2026.7.1.dmg)
macos·大模型·github·开源软件·ai助手·openclaw·gpt-5.6
华盈生物5 小时前
从空间表达到蛋白观察:单细胞组织原位空间蛋白组如何补充空间转录组?
模型·pcf·空间单细胞蛋白组·超多重蛋白成像技术·组织原位空间蛋白组·单细胞组织原位空间蛋白组
AC赳赳老秦7 小时前
招投标公开数据自动化采集实战:基于 OpenClaw 的定时抓取与业务关键词精准推送
运维·服务器·数据库·自动化·测试用例·deepseek·openclaw
寒水馨9 小时前
Windows 11下载、安装openclaw-v2026.7.1(附安装包OpenClawCompanion-Setup-x64.exe)
windows·大模型·开源软件·ai助手·openclaw·个人ai·中文版
AC赳赳老秦1 天前
OpenClaw 采集任务日志审计:全程记录采集行为,满足合规溯源与企业审计要求
java·大数据·python·数据挖掘·数据分析·php·openclaw
IT曙光2 天前
OpenClaw 安装与初始化指南windows
windows·openclaw
七夜zippoe2 天前
OpenClaw 行业应用:智能物流系统构建
系统·构建·智能物流·行业应用·openclaw
AC赳赳老秦3 天前
OpenClaw 合规公开数据采集入门:合法边界、数据源选型与反爬规避实操指南
大数据·人工智能·python·信息可视化·php·deepseek·openclaw
云卷云舒___________3 天前
DeepSeek V4灰度测试、马斯克Grok 4.6下周开测、上海AI实验室Intern-S2击败Opus4.8 | 7月18日 AI日报
ai·qwen·opus·grok·deepseek·ai日报·interns2