mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-04-20 21:46:07 +00:00
server: fix type promotion typo causing crashes w/ --jinja w/o tools (#11880)
This commit is contained in:
parent
fc1b0d0936
commit
f355229692
@ -968,7 +968,7 @@ static common_chat_params common_chat_params_init_without_tools(const common_cha
|
||||
}
|
||||
data.grammar = json_schema_to_grammar(inputs.json_schema);
|
||||
} else {
|
||||
data.grammar = inputs.grammar.empty();
|
||||
data.grammar = inputs.grammar;
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user