mirror of https://github.com/openclaw/openclaw.git
fix: replace nonexistent allowlist CLI command with config set
openclaw models allowlist add does not exist. Use openclaw config set to add models to agents.defaults.models, matching the existing config CLI convention used by other doctor hints. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3b393e074f
commit
ea5fa22892
|
|
@ -65,7 +65,8 @@ export async function noteSyntheticAllowlistGaps(cfg: OpenClawConfig): Promise<v
|
|||
lines.push(` - ${modelKey(entry.provider, entry.id)}`);
|
||||
}
|
||||
lines.push(
|
||||
`To add: ${formatCliCommand("openclaw models allowlist add <model-id>")}`,
|
||||
`To add: ${formatCliCommand("openclaw config set agents.defaults.models.<provider>/<model> '{}'")}`,
|
||||
`Or edit the config file directly: ${formatCliCommand("openclaw config file")}`,
|
||||
"(Models are functional but hidden from agents until allowlisted)",
|
||||
);
|
||||
note(lines.join("\n"), "Synthetic model allowlist");
|
||||
|
|
|
|||
Loading…
Reference in New Issue