@@ -604,30 +604,6 @@ public class ResponseStreamEventJsonConverter : global::System.Text.Json.Seriali
604604 {
605605 }
606606
607- readerCopy = reader ;
608- global ::tryAGI . OpenAI . ResponseReasoningDeltaEvent ? reasoningDelta = default ;
609- try
610- {
611- var typeInfo = typeInfoResolver . GetTypeInfo ( typeof ( global ::tryAGI . OpenAI . ResponseReasoningDeltaEvent ) , options ) as global ::System . Text . Json . Serialization . Metadata . JsonTypeInfo < global ::tryAGI . OpenAI . ResponseReasoningDeltaEvent > ??
612- throw new global ::System . InvalidOperationException ( $ "Cannot get type info for { typeof ( global ::tryAGI . OpenAI . ResponseReasoningDeltaEvent ) . Name } ") ;
613- reasoningDelta = global ::System . Text . Json . JsonSerializer . Deserialize ( ref readerCopy , typeInfo ) ;
614- }
615- catch ( global ::System . Text . Json . JsonException )
616- {
617- }
618-
619- readerCopy = reader ;
620- global ::tryAGI . OpenAI . ResponseReasoningDoneEvent ? reasoningDone = default ;
621- try
622- {
623- var typeInfo = typeInfoResolver . GetTypeInfo ( typeof ( global ::tryAGI . OpenAI . ResponseReasoningDoneEvent ) , options ) as global ::System . Text . Json . Serialization . Metadata . JsonTypeInfo < global ::tryAGI . OpenAI . ResponseReasoningDoneEvent > ??
624- throw new global ::System . InvalidOperationException ( $ "Cannot get type info for { typeof ( global ::tryAGI . OpenAI . ResponseReasoningDoneEvent ) . Name } ") ;
625- reasoningDone = global ::System . Text . Json . JsonSerializer . Deserialize ( ref readerCopy , typeInfo ) ;
626- }
627- catch ( global ::System . Text . Json . JsonException )
628- {
629- }
630-
631607 readerCopy = reader ;
632608 global ::tryAGI . OpenAI . ResponseReasoningSummaryDeltaEvent ? reasoningSummaryDelta = default ;
633609 try
@@ -702,8 +678,6 @@ public class ResponseStreamEventJsonConverter : global::System.Text.Json.Seriali
702678 mCPListToolsInProgress ,
703679 outputTextAnnotationAdded ,
704680 queued ,
705- reasoningDelta ,
706- reasoningDone ,
707681 reasoningSummaryDelta ,
708682 reasoningSummaryDone
709683 ) ;
@@ -1002,18 +976,6 @@ public class ResponseStreamEventJsonConverter : global::System.Text.Json.Seriali
1002976 throw new global ::System . InvalidOperationException ( $ "Cannot get type info for { typeof ( global ::tryAGI . OpenAI . ResponseQueuedEvent ) . Name } ") ;
1003977 _ = global ::System . Text . Json . JsonSerializer . Deserialize ( ref reader , typeInfo ) ;
1004978 }
1005- else if ( reasoningDelta != null )
1006- {
1007- var typeInfo = typeInfoResolver . GetTypeInfo ( typeof ( global ::tryAGI . OpenAI . ResponseReasoningDeltaEvent ) , options ) as global ::System . Text . Json . Serialization . Metadata . JsonTypeInfo < global ::tryAGI . OpenAI . ResponseReasoningDeltaEvent > ??
1008- throw new global ::System . InvalidOperationException ( $ "Cannot get type info for { typeof ( global ::tryAGI . OpenAI . ResponseReasoningDeltaEvent ) . Name } ") ;
1009- _ = global ::System . Text . Json . JsonSerializer . Deserialize ( ref reader , typeInfo ) ;
1010- }
1011- else if ( reasoningDone != null )
1012- {
1013- var typeInfo = typeInfoResolver . GetTypeInfo ( typeof ( global ::tryAGI . OpenAI . ResponseReasoningDoneEvent ) , options ) as global ::System . Text . Json . Serialization . Metadata . JsonTypeInfo < global ::tryAGI . OpenAI . ResponseReasoningDoneEvent > ??
1014- throw new global ::System . InvalidOperationException ( $ "Cannot get type info for { typeof ( global ::tryAGI . OpenAI . ResponseReasoningDoneEvent ) . Name } ") ;
1015- _ = global ::System . Text . Json . JsonSerializer . Deserialize ( ref reader , typeInfo ) ;
1016- }
1017979 else if ( reasoningSummaryDelta != null )
1018980 {
1019981 var typeInfo = typeInfoResolver . GetTypeInfo ( typeof ( global ::tryAGI . OpenAI . ResponseReasoningSummaryDeltaEvent ) , options ) as global ::System . Text . Json . Serialization . Metadata . JsonTypeInfo < global ::tryAGI . OpenAI . ResponseReasoningSummaryDeltaEvent > ??
@@ -1333,18 +1295,6 @@ public override void Write(
13331295 throw new global ::System . InvalidOperationException ( $ "Cannot get type info for { typeof ( global ::tryAGI . OpenAI . ResponseQueuedEvent ) . Name } ") ;
13341296 global ::System . Text . Json . JsonSerializer . Serialize ( writer , value . Queued , typeInfo ) ;
13351297 }
1336- else if ( value . IsReasoningDelta )
1337- {
1338- var typeInfo = typeInfoResolver . GetTypeInfo ( typeof ( global ::tryAGI . OpenAI . ResponseReasoningDeltaEvent ) , options ) as global ::System . Text . Json . Serialization . Metadata . JsonTypeInfo < global ::tryAGI . OpenAI . ResponseReasoningDeltaEvent ? > ??
1339- throw new global ::System . InvalidOperationException ( $ "Cannot get type info for { typeof ( global ::tryAGI . OpenAI . ResponseReasoningDeltaEvent ) . Name } ") ;
1340- global ::System . Text . Json . JsonSerializer . Serialize ( writer , value . ReasoningDelta , typeInfo ) ;
1341- }
1342- else if ( value . IsReasoningDone )
1343- {
1344- var typeInfo = typeInfoResolver . GetTypeInfo ( typeof ( global ::tryAGI . OpenAI . ResponseReasoningDoneEvent ) , options ) as global ::System . Text . Json . Serialization . Metadata . JsonTypeInfo < global ::tryAGI . OpenAI . ResponseReasoningDoneEvent ? > ??
1345- throw new global ::System . InvalidOperationException ( $ "Cannot get type info for { typeof ( global ::tryAGI . OpenAI . ResponseReasoningDoneEvent ) . Name } ") ;
1346- global ::System . Text . Json . JsonSerializer . Serialize ( writer , value . ReasoningDone , typeInfo ) ;
1347- }
13481298 else if ( value . IsReasoningSummaryDelta )
13491299 {
13501300 var typeInfo = typeInfoResolver . GetTypeInfo ( typeof ( global ::tryAGI . OpenAI . ResponseReasoningSummaryDeltaEvent ) , options ) as global ::System . Text . Json . Serialization . Metadata . JsonTypeInfo < global ::tryAGI . OpenAI . ResponseReasoningSummaryDeltaEvent ? > ??
0 commit comments