-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Bug
The --model flag is accepted by deploy.sh (default: anthropic/claude-sonnet-4-5) and passed to vps-setup.sh as $MODEL, but it's never written to the config during onboarding or the JSON edit step.
As a result, deployed agents default to OpenClaw's built-in default (Opus) regardless of what --model is set to.
Expected behavior
The specified model should be written to agents.defaults.model in openclaw.json.
Suggested fix
Add to the Node.js config edit in vps-setup.sh:
config.agents = config.agents || {};
config.agents.defaults = config.agents.defaults || {};
config.agents.defaults.model = process.argv[4]; // MODEL paramImpact
Low — model can be changed easily after deployment via Telegram or SSH. But the script should do what it says.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels