mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
refactor: use one placeholder token per image in LLM inputs (#2191)
This commit is contained in:
1 parent
e779d4f149
commit
fd21ecfcee
5 files changed
+114
-87
No files matched your search
@@ -380,8 +380,8 @@ static json make_capabilities_json(ServerRuntime& runtime) {
|
||||
json top_level_defaults = json::object();
|
||||
json top_level_output_formats = json::array();
|
||||
json top_level_features = {
|
||||
{"cancel_queued", true},
|
||||
{"cancel_generating", true},
|
||||
{"cancel_queued", true},
|
||||
{"cancel_generating", true},
|
||||
};
|
||||
std::string current_mode = "";
|
||||
if (supports_img) {
|
||||
|
||||
Reference in new issue
Block a user