Skip to content

models list --all bypasses model catalog synthetic fallbacks (e.g. GPT-5.4) #40068

@sd1114820

Description

@sd1114820

Summary

openclaw models list --all was not reflecting model entries added through src/agents/model-catalog.ts synthetic catalog fallbacks.

This caused models such as:

  • openai/gpt-5.4
  • openai/gpt-5.4-pro
  • openai-codex/gpt-5.4

to exist in the official catalog layer but still be missing from CLI output.

Why this happens

The issue comes from a data-source mismatch:

  • model-catalog.ts adds synthetic fallback entries via catalog logic
  • but models list --all was using the raw runtime registry path instead of the catalog path

As a result, CLI output could omit models that the catalog explicitly exposed.

Evidence gathered

  • upstream src/agents/model-catalog.ts includes GPT-5.4 synthetic fallback entries
  • runtime/discovery output used by the CLI did not expose the same entries
  • this created a visible mismatch between catalog expectations and models list --all

Expected behavior

openclaw models list --all should reflect the effective model catalog view, including synthetic fallback entries.

Proposed fix

A PR is already open with a focused fix:

That PR switches the --all listing path to use the model catalog so synthetic fallback models appear in the CLI output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions