save lora info when generating image

This commit is contained in:
Concedo 2026-07-03 17:32:48 +08:00
parent 6482a596e1
commit fd38fec594
2 changed files with 15 additions and 14 deletions

File diff suppressed because one or more lines are too long

View file

@ -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;