Closed
Description
What happened?
Llama.cpp crashes several times a day due to invalid UTF-8 in its output in /completion endpoint.
Ideally this should just return an error code.
Name and Version
latest
What operating system are you seeing the problem on?
No response
Relevant log output
llama-server [falcon-7b:2048:10]: terminate called after throwing an instance of 'nlohmann::json_abi_v3_11_3::detail::type_error'
llama-server [falcon-7b:2048:10]: what(): [json.exception.type_error.316] invalid UTF-8 byte at index 612: 0x5C
Error in request to /completion: socket hang up