CoAgent8 - Source API
    Preparing search index...

    Function recordDefaultModel

    • Records a backend's default model in the file unless the file or a VS Code setting already names one.

      Parameters

      • id: "codex" | "claude" | "agy"

        Backend.

      • model: string

        The model to record.

      Returns Promise<boolean>

      Whether the model was written.

      When the configuration cannot be locked, read, validated or written.