Strip the audience for compacting (#6646)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
@@ -354,12 +354,6 @@ impl<'a> ApiRequestBuilder<'a> {
|
||||
}
|
||||
|
||||
pub async fn response_post(self, payload: &Value) -> Result<Response> {
|
||||
// Log the JSON payload being sent to the LLM
|
||||
tracing::debug!(
|
||||
"LLM_REQUEST: {}",
|
||||
serde_json::to_string(payload).unwrap_or_else(|_| "{}".to_string())
|
||||
);
|
||||
|
||||
let request = self.send_request(|url, client| client.post(url)).await?;
|
||||
Ok(request.json(payload).send().await?)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user