GoForum › 🌐 V2EX
使用本地模型 Gemma4 来驱动 OpenClaw
Livid ·
2026-04-04 09:09 ·
0 次点赞 · 7 条回复
替换下面指令中的 model ID 为你本地 Ollama 里启动的版本。
openclaw onboard --non-interactive \
--auth-choice custom-api-key \
--custom-base-url "http://127.0.0.1:11434/v1" \
--custom-model-id "gemma4:31b-it-q4_K_M" \
--custom-api-key "ollama" \
--secret-input-mode plaintext \
--custom-compatibility openai \
--accept-risk
7 条回复
@0U0 这里有不同版本,应该总有一个是本地能跑起来的:
添加回复
你还需要 登录
后发表回复
需要什么配置才能跑得动