diff --git a/src/agent/agent_loop.rs b/src/agent/agent_loop.rs index 8f27b80..ab82f87 100644 --- a/src/agent/agent_loop.rs +++ b/src/agent/agent_loop.rs @@ -763,8 +763,6 @@ impl AgentLoop { iteration, response_len = response.content.len(), tool_calls_len = response.tool_calls.len(), - content = %response.content, - model = %response.model, "LLM response received" ); @@ -784,17 +782,9 @@ impl AgentLoop { } // Execute tool calls - let tool_calls_json = serde_json::to_string_pretty(&response.tool_calls) - .unwrap_or_else(|_| response.tool_calls.iter() - .map(|tc| format!("{}({})", tc.name, tc.arguments)) - .collect::>() - .join(", ")); tracing::info!( iteration, count = response.tool_calls.len(), - content = %response.content, - tool_calls = %tool_calls_json, - model = %response.model, "Tool calls detected, executing tools" );