notify the user from server ui that multimodality is unavialable
This commit is contained in:
parent
7e64bfe060
commit
4e5c5c451c
3 changed files with 2270 additions and 2253 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue