"llama.cpp/ggml/src/ggml-sycl/norm.cpp" did not exist on "7aa90c0ea35f88a5ef227b773e5a9fe3a0fd7eb2"
Unverified Commit a07b89da authored by Aly Mobarak's avatar Aly Mobarak
Browse files

Updated filter to filter null message objects as well.

parent 8116b043
......@@ -619,6 +619,7 @@
: undefined,
...messages
]
.filter((message) => message)
.filter((message) => message.content != "")
.map((message, idx, arr) => ({
role: message.role,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment