Strip the audience for compacting (#6646)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2026-01-22 16:13:35 -05:00
committed by GitHub
parent 86b38c6a4f
commit c57c2562a1
4 changed files with 84 additions and 15 deletions
-6
View File
@@ -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?)
}