Commit ·
e08aa80
1
Parent(s): 51a1ab7
Fix syntax error, add ngrok skip header
Browse files- src/inference/qwen.rs +2 -3
src/inference/qwen.rs
CHANGED
|
@@ -22,8 +22,7 @@ pub async fn generate(redacted_prompt: &str) -> Result<(String, String, String)>
|
|
| 22 |
}))
|
| 23 |
.send()
|
| 24 |
.await;
|
| 25 |
-
|
| 26 |
-
}
|
| 27 |
match resp {
|
| 28 |
Ok(r) if r.status().is_success() => {
|
| 29 |
let json: Value = r.json().await?;
|
|
@@ -52,4 +51,4 @@ pub async fn generate(redacted_prompt: &str) -> Result<(String, String, String)>
|
|
| 52 |
))
|
| 53 |
}
|
| 54 |
}
|
| 55 |
-
}
|
|
|
|
| 22 |
}))
|
| 23 |
.send()
|
| 24 |
.await;
|
| 25 |
+
|
|
|
|
| 26 |
match resp {
|
| 27 |
Ok(r) if r.status().is_success() => {
|
| 28 |
let json: Value = r.json().await?;
|
|
|
|
| 51 |
))
|
| 52 |
}
|
| 53 |
}
|
| 54 |
+
}
|