make multi token not preserved warning more actionable

This commit is contained in:
ochafik 2025-02-02 09:05:08 +00:00
parent 3a37ae4006
commit a278637fb1

View file

@ -385,7 +385,7 @@ struct server_task {
params.sampling.preserved_tokens.insert(ids[0]);
} else {
// This may happen when using a tool call style meant for a model with special tokens to preserve on a model without said tokens.
LOG_DBG("Not preserved because more than 1 token: %s\n", t.get<std::string>().c_str());
LOG_DBG("Not preserved because more than 1 token (wrong chat template override?): %s\n", t.get<std::string>().c_str());
}
}
}