Skip to content

Commit

Permalink
server: fix type promotion typo causing crashes w/ --jinja w/o tools (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
ochafik authored Feb 15, 2025
1 parent fc1b0d0 commit f355229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/chat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f355229

Please sign in to comment.