Skip to main content

Module model_resolve

Module model_resolve 

Source
Expand description

First-run model-resolution decision tree (spec §7.3). Pure logic shared by the CLI (Plan 1b) and the Hub GUI wizard (Plan 2). Hardware detection and the actual pull/key-entry actions live in the surface layers; this module only decides the recommended default given a hint + hardware.

Structs§

Hardware
Recipient hardware snapshot. apple_silicon and ollama_present inform which options a surface offers; the recommendation itself keys off RAM and the hint’s local_capable flag.

Enums§

Recommendation
The highlighted default the wizard should pre-select. All escape hatches (local pull / paste key / endpoint) remain available regardless (§7.3).

Functions§

recommend