From 2d31aeaa361269758b809a46ffb662483f949cfe Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Tue, 24 Sep 2024 13:45:30 -0700 Subject: [PATCH] fix debug log --- envoyfilter/src/stream_context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/envoyfilter/src/stream_context.rs b/envoyfilter/src/stream_context.rs index 4354a869..0511f644 100644 --- a/envoyfilter/src/stream_context.rs +++ b/envoyfilter/src/stream_context.rs @@ -468,7 +468,7 @@ impl StreamContext { } }; - debug!("tool_call_details: {:?}", tools_call_response); + debug!("tool_call_details: {}", boltfc_response_str); // extract all tool names let tool_names: Vec = tools_call_response .tool_calls @@ -546,7 +546,7 @@ impl StreamContext { } debug!("response received for function call response"); let body_str: String = String::from_utf8(body).unwrap(); - debug!("function_call_response response str: {:?}", body_str); + debug!("function_call_response response str: {}", body_str); let prompt_target_name = callout_context.prompt_target_name.unwrap(); let prompt_target = self .prompt_targets