| lms_server_status | R Documentation |
Displays the current status of the LM Studio local server via the CLI, including whether it is running and its configuration.
lms_server_status(
json = FALSE,
verbose = FALSE,
quiet = FALSE,
log_level = NULL
)
json |
|
verbose |
|
quiet |
|
log_level |
Character. The level of logging to use (e.g., "info", "debug"). |
You can only use one logging control flag at a time (verbose,
quiet, or log_level).
By default, returns a character vector containing the raw CLI output.
If json = TRUE and the jsonlite package is available, it
returns a parsed list or data.frame of the status configuration.
LM Studio CLI Server Status Documentation
## Not run:
lms_server_start(port = 1234)
# Get basic status string
lms_server_status()
# Get status as a parsed JSON data frame
lms_server_status(json = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.