File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ pub(crate) async fn stream_chat_completions(
338338 debug ! (
339339 "POST to {}: {}" ,
340340 provider. get_full_url( & None ) ,
341- serde_json :: to_string_pretty ( & payload) . unwrap_or_default ( )
341+ payload. to_string ( )
342342 ) ;
343343
344344 let mut attempt = 0 ;
Original file line number Diff line number Diff line change @@ -294,10 +294,9 @@ impl ModelClient {
294294 let auth = auth_manager. as_ref ( ) . and_then ( |m| m. auth ( ) ) ;
295295
296296 trace ! (
297- "POST to {}: {:? }" ,
297+ "POST to {}: {}" ,
298298 self . provider. get_full_url( & auth) ,
299- serde_json:: to_string( payload_json)
300- . unwrap_or( "<unable to serialize payload>" . to_string( ) )
299+ payload_json. to_string( )
301300 ) ;
302301
303302 let mut req_builder = self
You can’t perform that action at this time.
0 commit comments