refactor: use one placeholder token per image in LLM inputs (#2191)

This commit is contained in:
leejet authored and GitHub committed 2026-10-23 00:45:33 +08:00
1 parent e779d4f149
commit fd21ecfcee
5 files changed
+114 -87

No files matched your search

+2 -2
View File
@@ -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) {