Skip to content

feat: make model update checks manual configerable#2659

Open
fl0rianr wants to merge 1 commit into
mainfrom
fl0rianr/fix_#2608
Open

feat: make model update checks manual configerable#2659
fl0rianr wants to merge 1 commit into
mainfrom
fl0rianr/fix_#2608

Conversation

@fl0rianr

Copy link
Copy Markdown
Collaborator

Summary

Adds control over automatic model update checks and introduces an explicit manual update-check command.

Changes

  • Add auto_check_model_updates configuration option, enabled by default for backward compatibility
  • Skip the startup model update check when the option is disabled
  • Add lemonade check-updates for manually checking downloaded models
  • Add POST /v1/models/check-updates
  • Keep manual model downloads available when automatic checks are disabled
  • Respect offline=true for all update checks
  • Prevent concurrent startup and manual update checks
  • Clear stale update flags after a successful up-to-date response
  • Document the new configuration option, CLI command, and API endpoint

Why

Some users need Lemonade to avoid unsolicited network requests during startup without enabling full offline mode, which would also prevent intentional model downloads.

This change separates automatic update checks from explicit user-triggered network actions.

Closes #2608

@github-actions github-actions Bot added the enhancement New feature or request label Jul 11, 2026
@bitgamma

Copy link
Copy Markdown
Member

@fl0rianr why is there a .patch file in the commit? I think something went wrong

@fl0rianr fl0rianr force-pushed the fl0rianr/fix_#2608 branch from 6178d1d to f851427 Compare July 12, 2026 10:35
@fl0rianr

Copy link
Copy Markdown
Collaborator Author

@bitgamma thanks for catching this one - should have seen the slip since it's actually a concentrated change. Removed exactly this patch. Might have a look on it again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to check for updates only manually

2 participants