Skip to content

Add FLM model catalog snapshot fallback #1834

@jeremyfowers

Description

@jeremyfowers

Implementation Plan

  • Generate src/cpp/resources/flm_models.json from flm list --json.
  • Normalize FLM catalog entries into Lemonade model registry shape.
  • Strip machine-local FLM fields such as installed state from the generated snapshot.
  • Load FLM catalog data in ModelManager.
  • Use live flm list --json whenever FLM is installed.
  • Use flm_models.json only when FLM is not installed.
  • Keep local lemond model APIs hardware-filtered so unsupported systems do not expose FLM models.
  • Include FLM snapshot models in unfiltered model lookup paths for useful unsupported/install/update guidance.
  • Update the website's model catalog loading to merge server_models.json and optional flm_models.json.
  • Package flm_models.json wherever server resources are explicitly bundled.
  • Add an automation workflow to refresh flm_models.json when the pinned FLM version changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions