Skip to content

doctor --fix incorrectly migrates claude-haiku-4-5 to claude-sonnet-4-6 #87680

Description

@notoriousehc

OpenClaw 2026.5.26's claude-model-refs runtime classifies claude-haiku-4-5 (and claude-haiku-4.5) as retired and rewrites it to claude-sonnet-4-6 during openclaw doctor --fix, and the short haiku alias map points to claude-sonnet-4-6 rather than claude-haiku-4-5. Anthropic continues to publish claude-haiku-4-5 as a current production model, so users with legitimate cost/latency-driven haiku usage (e.g., 13 of my 14 cron jobs pin it) lose their explicit model choice on any doctor-fix pass with no opt-out config key or env var. Please remove claude-haiku-4-5 from the retired list in claude-model-refs and repoint the haiku alias entry to claude-haiku-4-5, or introduce a models.catalog.userCurrent[] config path so operators can mark specific model IDs as current. Source pointers: dist/claude-model-refs-B96m5WAM.js (retired-refs list and alias map) and dist/legacy-config-migrations-IdEjGUUU.js (models.retired-model-refs migration that invokes upgradeRetiredModelRef).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions