From 2c60b42f3e544ec71f2fa2130f7c70420cff3dfa Mon Sep 17 00:00:00 2001 From: Evaline Ju <69598118+evaline-ju@users.noreply.github.com> Date: Wed, 22 May 2024 20:32:20 -0600 Subject: [PATCH] :art: Linting Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com> --- src/orchestrator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/orchestrator.rs b/src/orchestrator.rs index 79c9d8d4..0cf29ab1 100644 --- a/src/orchestrator.rs +++ b/src/orchestrator.rs @@ -478,9 +478,9 @@ async fn generate( Ok(ClassifiedGeneratedTextResult { generated_text: Some(response.text.clone()), finish_reason: Some(response.stop_reason().into()), - generated_token_count: Some(response.generated_token_count as u32), + generated_token_count: Some(response.generated_token_count), seed: Some(response.seed as u32), - input_token_count: response.input_token_count as u32, + input_token_count: response.input_token_count, warnings: None, tokens: if response.tokens.is_empty() { None