Skip to content

Commit c9a6b9e

Browse files
committed
feat: add LLAMA_VOCAB_PRE_TYPE_GPT4O constant
1 parent 9e27222 commit c9a6b9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/llama_cpp/llama_cpp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3909,6 +3909,7 @@ void Init_llama_cpp(void) {
39093909
rb_define_const(rb_mLlamaCpp, "LLAMA_VOCAB_PRE_TYPE_CHAMELEON", INT2NUM(LLAMA_VOCAB_PRE_TYPE_CHAMELEON));
39103910
rb_define_const(rb_mLlamaCpp, "LLAMA_VOCAB_PRE_TYPE_MINERVA", INT2NUM(LLAMA_VOCAB_PRE_TYPE_MINERVA));
39113911
rb_define_const(rb_mLlamaCpp, "LLAMA_VOCAB_PRE_TYPE_DEEPSEEK3_LLM", INT2NUM(LLAMA_VOCAB_PRE_TYPE_DEEPSEEK3_LLM));
3912+
rb_define_const(rb_mLlamaCpp, "LLAMA_VOCAB_PRE_TYPE_GPT4O", INT2NUM(LLAMA_VOCAB_PRE_TYPE_GPT4O));
39123913
/* llama_rope_type */
39133914
/* Document-const: LlamaCpp::LLAMA_ROPE_TYPE_NONE */
39143915
rb_define_const(rb_mLlamaCpp, "LLAMA_ROPE_TYPE_NONE", INT2NUM(LLAMA_ROPE_TYPE_NONE));

0 commit comments

Comments
 (0)