Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/cpp/server/model_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1913,9 +1913,9 @@ void ModelManager::download_model(const std::string& model_name,
// Validate it has the "user." prefix
if (!is_user_model_name(model_name)) {
throw std::runtime_error(
"When registering a new model, the model name must include the "
"`user` namespace, for example `user.Phi-4-Mini-GGUF`. Received: " +
model_name
"No built-in model with the name '" + model_name + "' is registered.\n\n"
"If you meant a built-in model, run `lemonade list` to see available models.\n"
"If you meant to add a custom model from Hugging Face, run `lemonade pull CHECKPOINT`."
);
}

Expand Down
Loading