Skip to content

Incorrect status message when downloading a model in offline mode #2412

Description

@ckuethe

Platform

Windows

Lemonade Version

10.8.1

GPU / APU Model

No response

Component

Other / Not sure

Bug Description

when lemond is in offline mode, model downloads "complete" very quickly, without downloading anything, and there is no indication to the user that no download was attempted because offline mode was active

Steps to Reproduce

  1. lemonade config set offline=true
  2. lemonade pull ... (some custom huggingface model)
  3. observe Model pulled successfully: ...
  4. observe the model is not listed in lemonade list --downloaded
  5. get confused
  6. check server logs, observe [Info] (ModelManager) Offline mode enabled, skipping download

Expected vs Actual Behavior

Expected: "Lemond is in offline mode, model not downloaded"
Actual: "Model pulled successfully..."

Log Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area::clilemonade CLI client (src/cpp/cli)bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions