CoAgent8 - Source API
    Preparing search index...

    Module models/catalog

    Model and effort validation against the catalog a backend CLI reports (CONTEXT-001).

    A caller learned which models and efforts a backend accepts only by failing: Codex rejected luna after a model call, agy rejected gemini-3.8-flash without an effort. The controller checks an explicit model or reasoning_effort here before launch and answers with the accepted values. Without a catalog nothing is rejected, so a model the bridge does not know yet still reaches the CLI.

    checkModelSelection
    describeModels
    findCatalogEntry
    lookupName