Skip to content

Commit aaebc33

Browse files
committed
add "has_multimodal" to /props
1 parent 5ffde38 commit aaebc33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/server/server.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4009,6 +4009,7 @@ int main(int argc, char ** argv) {
40094009
{ "default_generation_settings", ctx_server.default_generation_settings_for_props },
40104010
{ "total_slots", ctx_server.params_base.n_parallel },
40114011
{ "model_path", ctx_server.params_base.model.path },
4012+
{ "has_multimodal", ctx_server.mctx != nullptr },
40124013
{ "chat_template", common_chat_templates_source(ctx_server.chat_templates.get()) },
40134014
{ "bos_token", common_token_to_piece(ctx_server.ctx, llama_vocab_bos(ctx_server.vocab), /* special= */ true)},
40144015
{ "eos_token", common_token_to_piece(ctx_server.ctx, llama_vocab_eos(ctx_server.vocab), /* special= */ true)},

0 commit comments

Comments
 (0)