Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kamillitman committed Jan 13, 2024
1 parent 19ee6bf commit e37ec57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llm_models/google.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl LLMModel for GoogleModels {
GoogleModels::GeminiProVertex => Ok(response_text.to_string()),
GoogleModels::GeminiPro => {
//Convert response to struct representing expected response format
let gemini_response: GoogleGeminiProApiResp = serde_json::from_str(&response_text)?;
let gemini_response: GoogleGeminiProApiResp = serde_json::from_str(response_text)?;

//Extract the data part from the response
Ok(gemini_response
Expand Down

0 comments on commit e37ec57

Please sign in to comment.