Skip to content

Commit

Permalink
🐛 Fix force_paragen_model_slug
Browse files Browse the repository at this point in the history
  • Loading branch information
luoshuijs committed Mar 27, 2024
1 parent 0c5ae5f commit adfa234
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/openai/src/serve/proxy/req.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ async fn handle_conv_request(req: &mut RequestExt) -> Result<(), ResponseError>
warn!("Chat requirements token not found")
}

body.insert("force_paragen_model_slug", "");

// Parse model
let model = GPTModel::from_str(model).map_err(ResponseError::BadRequest)?;

Expand Down

0 comments on commit adfa234

Please sign in to comment.