From fd38fec594f3a7fb32ad611d06617e3bd08db049 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Fri, 3 Jul 2026 17:32:48 +0800 Subject: [PATCH] save lora info when generating image --- embd_res/kcpp_sdui.embd | 28 ++++++++++++++-------------- otherarch/sdcpp/sdtype_adapter.cpp | 1 + 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/embd_res/kcpp_sdui.embd b/embd_res/kcpp_sdui.embd index 50807c23b..c398b1c59 100644 --- a/embd_res/kcpp_sdui.embd +++ b/embd_res/kcpp_sdui.embd @@ -5,18 +5,18 @@ Stable UI for KoboldCpp - - diff --git a/otherarch/sdcpp/sdtype_adapter.cpp b/otherarch/sdcpp/sdtype_adapter.cpp index 73c0b73f7..00c0a6dd7 100644 --- a/otherarch/sdcpp/sdtype_adapter.cpp +++ b/otherarch/sdcpp/sdtype_adapter.cpp @@ -1530,6 +1530,7 @@ sd_generation_outputs sdtype_generate(const sd_generation_inputs inputs) jsoninfo["all_prompts"] = nlohmann::json::array(); jsoninfo["all_negative_prompts"] = nlohmann::json::array(); jsoninfo["all_seeds"] = nlohmann::json::array(); + jsoninfo["lora_meta"] = lora_meta; jsoninfo["version"] = "KoboldCpp"; } sd_image_t* upscaled_image = nullptr;