Direct interface to LM Studio's v1 Native endpoint. Optimized for stateful chats and hardware control.
lms_chat_native(
model,
input,
system_prompt = NULL,
host = "http://localhost:1234",
simplify = TRUE,
...
)If simplify = FALSE, returns a list representing the raw JSON
response. If simplify = TRUE, returns a character string containing
the model's text output.
Character. The loaded model name.
Character. The user prompt.
Character. Optional system prompt.
Character. Server URL.
Logical. If TRUE, parses output to text.
Additional API arguments.