CoAgent8 - Source API
    Preparing search index...

    Function findCatalogEntry

    • Finds the catalog entry for model: by its id or an alias (Claude Code's sonnet), also in agy's suffixed form <id>-<effort>, comparing lookupName forms.

      Parameters

      Returns { entry: CatalogModel; name: string; suffixEffort?: string } | undefined

      The entry, the effort a suffixed name carries, and name: the exact form the CLI accepts for what was asked (the entry's id, or <id>-<effort>), never an approximation.