Skip to content

Commit

Permalink
debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
noyoshi committed Mar 19, 2024
1 parent 64289cf commit 119152e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions router/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,13 @@ async fn snowflake_generate(
req: Json<SnowflakeGenerateRequest>,
) -> Result<(HeaderMap, Json<GenerateResponse>), (StatusCode, Json<ErrorResponse>)> {
let req = req.0;
tracing::info!(
"GENERATE SNOWFLAKE INPUT REQ: {req:?}",
);
let gen_req = GenerateRequest::from(req);
tracing::info!(
"GENERATE SNOWFLAKE PARSED REQ: {gen_req:?}",
);

let (headers, generation) = generate(infer, req_headers, Json(gen_req.into())).await?;
Ok((headers, generation))
Expand Down

0 comments on commit 119152e

Please sign in to comment.