From 2cdf02102ed28cb84879cff357cdf0206354b014 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sat, 28 Mar 2026 01:13:03 +0800 Subject: [PATCH] preserve previous filename --- otherarch/sdcpp/sdtype_adapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otherarch/sdcpp/sdtype_adapter.cpp b/otherarch/sdcpp/sdtype_adapter.cpp index d4e875d24..9e3062fee 100644 --- a/otherarch/sdcpp/sdtype_adapter.cpp +++ b/otherarch/sdcpp/sdtype_adapter.cpp @@ -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) {