chatglm.cpp:152 check failed (messages.size() % 2 == 1) invalid chat messages size 2
zhuwensi opened this issue · comments
./build/bin/main -m chatglm-ggml.bin --top_p 0.8 --temp 0.8 --sp examples/system/code_interpreter.txt -i
System > 你是一位智能AI助手,你叫ChatGLM,你连接着一台电脑,但请注意不能联网。.......
Prompt > 列出100以内的所有质数
ChatGLM2 > /root/ai2/chatglm.cpp/chatglm.cpp:152 check failed (messages.size() % 2 == 1) invalid chat messages size 2
Is this a bug? I tried example function and code_interpreter, and they both gave above errors.
ChatGLM2 doesn't support system prompt. Please use ChatGLM3 for system prompt. Will fix this.