fix(models): keep --all aligned with synthetic catalog rows#40160
fix(models): keep --all aligned with synthetic catalog rows#40160steipete merged 3 commits intoopenclaw:mainfrom
Conversation
|
Self-review: i kept discovered |
Greptile SummaryThis PR fixes a gap in Key implementation details:
Confidence Score: 5/5
Last reviewed commit: 5cb8f81 |
|
small status note: i checked the current red CI, and on my read the failures are outside this diff.
i re-ran the focused paths for this change locally and they were green:
happy to refresh once base CI is green again if needed. |
|
synced latest my fix is still the same: keep discovered i also refreshed the focused list tests after upstream config/listing changes landed on
|
|
Landed via temp rebase onto main.
Thanks @dorukardahan! |
|
Thanks Peter, i appreciate you landing this. Also good to see you back around GitHub. i had not seen you for a while. glad you are back. |
Summary / What changed
openclaw models list --allrooted in discovered runtime rowsopenai-codex/gpt-5.4) vialoadModelCatalog()+resolveModelWithRegistry()Why
v2026.3.7user reportedopenclaw models list --all --provider openai-codex --plainstill omittedgpt-5.4until re-auth--allprinted only raw discovered registry models, while GPT-5.4 support already existed in the synthetic catalog / forward-compat layers--allstill works when catalog loading returns[], and it avoids constructing catalog-only fake runtime modelsTests
pnpm exec vitest run src/commands/models/list.list-command.forward-compat.test.ts src/commands/models.list.auth-sync.test.tspnpm exec vitest run --config vitest.e2e.config.ts src/commands/models.list.e2e.test.tspnpm buildpnpm checkin this worktree still hits repo-wide missing optional extension deps (extensions/diagnostics-otel,extensions/feishu,extensions/matrix,ui, etc.); i did not expand PR scope to fix those unrelated failuresReal-world validation
v2026.3.7and confirmed the mismatch betweenmodels list --alland the synthetic catalog / forward-compat layerIssue
Fixes #40068
Related #38696
Related #39678
AI-assisted: yes