资讯动态

Mac Mini + oMLX + openclaw 本地大模型养小龙虾及配置遇到的相关问题

发布时间:2026/8/20 7:26:40 来源:尧图企业网站定制
环境条件与软件配置Mac Mini 24G内存M4芯片 macOS 26 Tahoe安装oMLX v0.2.24本地安装openclaw v2026.3.24安装说明虽然16G也行但要有好一点点的效果还是需要24G以上好点请根据自己的内存大小选择最适合的模型。使用2026.3.23后可以直接使用clawhub的skill方便点某些功能不用自己写skilloMLX 启动服务启动oMLX 本地大模型服务127.0.0.1:8000 默认的端口服务oMLX下载并加载模型下载完成后需要在Admin Panel-设置-模型设置-加载下载的模型并在聊天里试验一下模型选择24G内存Qwen3.5-9B-MLX-4bit 速度比较好效果一般Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-4bit 会死机内存会爆gpt-oss-20b-MXFP4-Q8(推荐) 运行良好就是有点慢方案优点与缺点优点免费token电费即算力不必担心花费。亲测一天0.6度电家用电计算费用0.36元本地算力结合本地小龙虾折腾起来方便把家用算力与闲时网络用起来缺点24G内存还是有点不够用好的本地模型响应会有点慢但能跑起来如果是64G就完美点配置如果不是很擅长手动改写openclaw.json请使用命令直接修改配置。如有兴趣可以了解一下频道channel代理agent绑定 binding账号 account还有关于群组权限allowlist是否需要才响应匹配pearing等配置文件相关的知识频道方案1. 原生微信clawbot插件客户端打开微信-我的-设置-插件-clawbot插件openclaw服务端打开终端运行以下命令添加频道多微信用户创建不同的代理#1)创建独立 agents,命令agent-name自己改一下 openclaw agents addagent-name--workspace~/.openclaw/workspace-agent-name--non-interactive #2)分别登录两个微信号扫一次码 openclaw channels login--channel openclaw-weixin--accountagent-name#3)账号绑定到对应 agent关键 openclaw agents bind--agentagent-name--bind openclaw-weixin:agent-name#4)重启并验收 openclaw gateway restart openclaw agents bindings openclaw channels status--probe2. telegram bot具体教程网上太多了自行搜索...channels:{telegram:{enabled:true,dmPolicy:pairing,groupPolicy:open,streaming:partial,proxy:socks5://127.0.0.1:1080,accounts:{default:{dmPolicy:pairing,botToken:main_bot_token,allowFrom:[tg_user_id],groupPolicy:allowlist,streaming:partial},family:{dmPolicy:pairing,botToken:family_bot_token,groups:{tg_group_id:{requireMention:true,allowFrom:[*]}},groupAllowFrom:[tg_group_id],groupPolicy:allowlist,streaming:partial},...3. 企业微信https://open.work.weixin.qq.com/help2/pc/cat?doc_id21671按教程走就好了。一些坑与重要的点开始我只是一个main agent 一个tg bot对话的后来需要添加不同的bot与agent绑定我是从旧版迁移到新版openclaw的手动改了一下tg channel的配置然后rg这个频道不见了花了一天才知道tg频道软件也是以插件形式注入到openclaw是有一个开头的需要开启。Key Troubleshooting Steps: Enable the Plugin: Run openclaw configsetplugins.enabled true. Set Allowlist: Ensure Telegram is permitted: openclaw configsetplugins.allow[telegram].Enable Plugin Entry: Explicitlyenableit with openclaw configsetplugins.entries.telegram.enabled true.oMLX回复有乱码情况可能是本地缓存出问题需要删除缓存目录文件~/.omlx/cache升级到最新版 openclaw v2026.3.31, 运行后返回超时报错 Agent failed before reply: LLM request timed out.是因为添加了一个配置参数agents.defaults.llm.idleTimeoutSecondshttps://github.com/openclaw/openclaw/pull/55072我的中转站https://api.aiseo.one/register?channelc_mi62tost

读完文章,也想定制专属网站?

尧图设计师 24 小时内与您沟通定制方案

免费获取报价