mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-10 12:11:08 +00:00
preserve previous filename
This commit is contained in:
parent
e3c6227d46
commit
2cdf02102e
1 changed files with 1 additions and 1 deletions
|
|
@ -551,7 +551,7 @@ bool sdtype_load_model(const sd_load_model_inputs inputs) {
|
|||
}
|
||||
|
||||
static std::string friendly_model_name(std::filesystem::path model_path) {
|
||||
return model_path.filename().stem().string();
|
||||
return model_path.filename().string();
|
||||
}
|
||||
|
||||
std::string clean_input_prompt(const std::string& input) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue