Skip to content

Commit f5fbc03

Browse files
committed
adapt the new web ui
1 parent abfd821 commit f5fbc03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4011,7 +4011,7 @@ int main(int argc, char ** argv) {
40114011
{ "default_generation_settings", ctx_server.default_generation_settings_for_props },
40124012
{ "total_slots", ctx_server.params_base.n_parallel },
40134013
{ "model_path", ctx_server.params_base.model.path },
4014-
{ "has_multimodal", ctx_server.mctx != nullptr },
4014+
{ "modalities", json{{"vision", ctx_server.mctx != nullptr}} }, // TODO: add more in the future
40154015
{ "chat_template", common_chat_templates_source(ctx_server.chat_templates.get()) },
40164016
{ "bos_token", common_token_to_piece(ctx_server.ctx, llama_vocab_bos(ctx_server.vocab), /* special= */ true)},
40174017
{ "eos_token", common_token_to_piece(ctx_server.ctx, llama_vocab_eos(ctx_server.vocab), /* special= */ true)},

0 commit comments

Comments
 (0)