File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,15 @@ impl ReqwestTransport {
6969#[ async_trait]
7070impl HttpTransport for ReqwestTransport {
7171 async fn execute ( & self , req : Request ) -> Result < Response , TransportError > {
72+ if enabled ! ( Level :: TRACE ) {
73+ trace ! (
74+ "{} to {}: {}" ,
75+ req. method,
76+ req. url,
77+ req. body. as_ref( ) . unwrap_or_default( )
78+ ) ;
79+ }
80+
7281 let builder = self . build ( req) ?;
7382 let resp = builder. send ( ) . await . map_err ( Self :: map_error) ?;
7483 let status = resp. status ( ) ;
Original file line number Diff line number Diff line change @@ -416,7 +416,6 @@ impl Serialize for FunctionCallOutputPayload {
416416 where
417417 S : Serializer ,
418418 {
419- tracing:: debug!( "Function call output payload: {:?}" , self ) ;
420419 if let Some ( items) = & self . content_items {
421420 items. serialize ( serializer)
422421 } else {
You can’t perform that action at this time.
0 commit comments