← Back to library

Reddit 排障:升级后 Claude Opus 4.6 报 Unknown model 的恢复流程

问题/场景:升级后会话报 `Unknown model: anthropic/claude-opus-4-6`。前置条件:具备网关与模型配置权限。实施步骤:先确认模型列表变化、执行 doctor/status、在 configure/models 中切换受支持模型并回归。关键命令:`openclaw doctor`、`openclaw models list`、`openclaw configure --section models`。验证:原失败会话可恢复执行。风险:盲目强行写旧模型 ID 会持续失败。

REDDITDiscovered 2026-02-18Author u/No-Bother-3705
Prerequisites
  • Gateway is reachable and you can edit model defaults/allowlist.
  • You can capture exact failing model id from logs or error text.
Steps
  1. Run `openclaw doctor` and `openclaw models list` to confirm currently available Anthropic models.
  2. Open model config and replace deprecated/unknown IDs with supported aliases or provider/model entries.
  3. Restart gateway if needed, then retry the same task from the previously failing session.
  4. Document migration mapping (old ID -> new ID) for future upgrades.
Commands
openclaw doctor
openclaw models list
openclaw configure --section models
openclaw gateway restart
Verify

The previously failing request completes successfully and no further Unknown model errors appear for the migrated path.

Caveats
  • If provider removes/deprecates a model, local config fix alone cannot restore it.
  • Community thread is anecdotal; confirm against official model matrix/release notes(需验证).
Source attribution

This tip is aggregated from community/public sources and preserved with attribution.

Open original source ↗
Visit original post