CoAgent8 - Source API
    Preparing search index...

    Function observeModel

    • Asks Claude Code which concrete model it runs for a name or alias, or without one (its account default, as the restricted profile sees it), from system/init of a local /usage run: no model turn and no cost.

      Parameters

      • Optionalrequested: string

        The model or alias; omitted for the default.

      • Optionalprobe: AdapterProbeResult

        Probe result whose version is checked.

      • Optionalcontext: BackendReadContext

        Optional cancellation and deadline context (EXEC-001-T08d).

      Returns Promise<string | undefined>