Skip to content

Commit

Permalink
🎨 Linting
Browse files Browse the repository at this point in the history
Signed-off-by: Evaline Ju <[email protected]>
  • Loading branch information
evaline-ju committed May 23, 2024
1 parent 5f5145f commit 2c60b42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/orchestrator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c60b42

Please sign in to comment.