mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-05-12 12:04:08 +00:00
notify the user from server ui that multimodality is unavialable
This commit is contained in:
@@ -1669,7 +1669,12 @@ static json format_partial_response(
|
||||
json res = json{
|
||||
{"content", content },
|
||||
{"stop", false},
|
||||
{ "slot_id", slot->id }
|
||||
{ "slot_id", slot->id },
|
||||
#ifdef SERVER_MULTIMODAL_SUPPORT
|
||||
{"multimodal", llama.multimodal }
|
||||
#else
|
||||
{"multimodal", false }
|
||||
#endif
|
||||
};
|
||||
|
||||
if (slot->sparams.n_probs > 0)
|
||||
|
||||
Reference in New Issue
Block a user