style: rustfmt server engine files
This commit is contained in:
@@ -346,7 +346,12 @@ pub fn run_tp(
|
||||
/// Returns false if the send would block (client too slow) or the client is
|
||||
/// gone — the caller stops generating so the serial coordinator thread is free
|
||||
/// to admit the next request instead of blocking on one slow consumer.
|
||||
fn emit_text(tokenizer: &Tokenizer, req: &GenerateRequest, token_id: u32, buf: &mut Vec<u8>) -> bool {
|
||||
fn emit_text(
|
||||
tokenizer: &Tokenizer,
|
||||
req: &GenerateRequest,
|
||||
token_id: u32,
|
||||
buf: &mut Vec<u8>,
|
||||
) -> bool {
|
||||
if tokenizer.is_eos(token_id) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user