| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Llama.CloseModel
Closes the current model.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Llama | 16.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Llama.CloseModel"; LlamaSession ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| LlamaSession | The session identifier. | $$session |
Result
Returns OK or error.
Description
Closes the current model.Also closes the context if one is open.
See also
Created 10th February 2026, last changed 10th February 2026