server: remove trailling white space
This commit is contained in:
parent
6c76c31184
commit
02c96a4cbb
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ static std::string tokens_to_output_formatted_string(const llama_context * ctx,
|
||||||
// if first bit is 1, meaning it's a partial character
|
// if first bit is 1, meaning it's a partial character
|
||||||
if ((out[0] & 0x80) == 0x80) {
|
if ((out[0] & 0x80) == 0x80) {
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
ss<< std::hex << (out[0] & 0xff);
|
ss<< std::hex << (out[0] & 0xff);
|
||||||
std::string res ( ss.str() );
|
std::string res ( ss.str() );
|
||||||
out = "byte: \\x" + res;
|
out = "byte: \\x" + res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue