add more changes

This commit is contained in:
Adil Hafeez 2025-09-16 15:25:47 -07:00
parent c1757bec88
commit 6cfce60501
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
3 changed files with 8 additions and 7 deletions

View file

@ -172,7 +172,7 @@ pub async fn agent_chat(
request.messages = chat_completions_history.clone();
let request_str = serde_json::to_string(&request).unwrap();
debug!("Sending request to agent {}: {}", agent_name, request_str);
debug!("Sending request to agent {}", agent_name);
let mut agent_request_headers = request_headers.clone();
agent_request_headers.insert(
@ -224,8 +224,8 @@ pub async fn agent_chat(
.unwrap();
debug!(
"Received response from agent {}: {}",
agent_name, response_str
"Received response from agent {}",
agent_name
);
chat_completions_history = serde_json::from_str(response_str.as_str()).unwrap_or(vec![]);