pkg/mcp/localaitools/prompts/skills/install_chat_model.md
Use this when the user wants to install a chat-capable model — including the case where there are no chat models installed at all and they ask you to bootstrap one.
gallery_search with their query (and tag: "chat" when the user asked specifically for chat).<gallery>/<name> — confirm?") and wait for confirmation.install_model with gallery_name and model_name from the chosen hit. Leave variant empty: LocalAI then auto-selects the largest build this machine's engines and free memory can actually run. Only set variant when the user names a specific build (e.g. "the Q8 one"), and pass the name exactly as the entry lists it: an unknown name fails the install rather than falling back to auto-selection.get_job_status with the returned job id. Report meaningful progress changes (every ~10–20%, plus completion).processed: true and no error, call reload_models, then list_installed_models with capability: "chat" to confirm the model is now visible.model field in chat completions).If install_model fails, surface the error and ask whether to retry, pick a different model, or abort.