Skip to content

Commit eafd957

Browse files
author
Olivier Chafik
committed
fix typo (bool grammar no good!)
1 parent 89daa25 commit eafd957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/chat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ static common_chat_params common_chat_params_init_without_tools(const common_cha
968968
}
969969
data.grammar = json_schema_to_grammar(inputs.json_schema);
970970
} else {
971-
data.grammar = inputs.grammar.empty();
971+
data.grammar = inputs.grammar;
972972
}
973973
return data;
974974
}

0 commit comments

Comments
 (0)