model_lifecycle

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package main demonstrates LM Studio's /api/v1/models lifecycle surface — read-only operations (ListModelsResponse) only, so this example is safe to run without disturbing the currently-loaded model.

For mutating operations — LoadModel, UnloadModel, DownloadModel — see the corresponding function docstrings in native.go. Mutating calls are not demoed here because they can evict whatever model you have loaded.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL