@@ -4600,10 +4600,21 @@ public enum ComputerCallActionMouseButton {
46004600 Forward = 4
46014601 }
46024602 [ Experimental ( "OPENAICUA001" ) ]
4603+ public class ComputerCallOutput : IJsonModel < ComputerCallOutput > , IPersistableModel < ComputerCallOutput > {
4604+ public static ComputerCallOutput CreateScreenshotOutput ( BinaryData screenshotImageBytes , string screenshotImageBytesMediaType ) ;
4605+ public static ComputerCallOutput CreateScreenshotOutput ( string screenshotImageFileId ) ;
4606+ public static ComputerCallOutput CreateScreenshotOutput ( Uri screenshotImageUri ) ;
4607+ protected virtual ComputerCallOutput JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
4608+ protected virtual void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
4609+ protected virtual ComputerCallOutput PersistableModelCreateCore ( BinaryData data , ModelReaderWriterOptions options ) ;
4610+ protected virtual BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
4611+ }
4612+ [ Experimental ( "OPENAICUA001" ) ]
46034613 public class ComputerCallOutputResponseItem : ResponseItem , IJsonModel < ComputerCallOutputResponseItem > , IPersistableModel < ComputerCallOutputResponseItem > {
4614+ public ComputerCallOutputResponseItem ( string callId , ComputerCallOutput output ) ;
46044615 public IList < ComputerCallSafetyCheck > AcknowledgedSafetyChecks { get ; }
4605- public string CallId { get ; }
4606- public ComputerOutput Output { get ; }
4616+ public string CallId { get ; set ; }
4617+ public ComputerCallOutput Output { get ; set ; }
46074618 public ComputerCallOutputStatus ? Status { get ; }
46084619 protected override ResponseItem JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
46094620 protected override void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
@@ -4619,8 +4630,8 @@ public enum ComputerCallOutputStatus {
46194630 [ Experimental ( "OPENAICUA001" ) ]
46204631 public class ComputerCallResponseItem : ResponseItem , IJsonModel < ComputerCallResponseItem > , IPersistableModel < ComputerCallResponseItem > {
46214632 public ComputerCallResponseItem ( string callId , ComputerCallAction action , IEnumerable < ComputerCallSafetyCheck > pendingSafetyChecks ) ;
4622- public ComputerCallAction Action { get ; }
4623- public string CallId { get ; }
4633+ public ComputerCallAction Action { get ; set ; }
4634+ public string CallId { get ; set ; }
46244635 public IList < ComputerCallSafetyCheck > PendingSafetyChecks { get ; }
46254636 public ComputerCallStatus ? Status { get ; }
46264637 protected override ResponseItem JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
@@ -4646,16 +4657,6 @@ public enum ComputerCallStatus {
46464657 Incomplete = 2
46474658 }
46484659 [ Experimental ( "OPENAICUA001" ) ]
4649- public class ComputerOutput : IJsonModel < ComputerOutput > , IPersistableModel < ComputerOutput > {
4650- public static ComputerOutput CreateScreenshotOutput ( BinaryData screenshotImageBytes , string screenshotImageBytesMediaType ) ;
4651- public static ComputerOutput CreateScreenshotOutput ( string screenshotImageFileId ) ;
4652- public static ComputerOutput CreateScreenshotOutput ( Uri screenshotImageUri ) ;
4653- protected virtual ComputerOutput JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
4654- protected virtual void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
4655- protected virtual ComputerOutput PersistableModelCreateCore ( BinaryData data , ModelReaderWriterOptions options ) ;
4656- protected virtual BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
4657- }
4658- [ Experimental ( "OPENAICUA001" ) ]
46594660 public readonly partial struct ComputerToolEnvironment : IEquatable < ComputerToolEnvironment > {
46604661 public ComputerToolEnvironment ( string value ) ;
46614662 public static ComputerToolEnvironment Browser { get ; }
@@ -4676,8 +4677,9 @@ public class ComputerOutput : IJsonModel<ComputerOutput>, IPersistableModel<Comp
46764677 }
46774678 [ Experimental ( "OPENAI001" ) ]
46784679 public class FileSearchCallResponseItem : ResponseItem , IJsonModel < FileSearchCallResponseItem > , IPersistableModel < FileSearchCallResponseItem > {
4680+ public FileSearchCallResponseItem ( IEnumerable < string > queries ) ;
46794681 public IList < string > Queries { get ; }
4680- public IList < FileSearchCallResult > Results { get ; }
4682+ public IList < FileSearchCallResult > Results { get ; set ; }
46814683 public FileSearchCallStatus ? Status { get ; }
46824684 protected override ResponseItem JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
46834685 protected override void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
@@ -4686,7 +4688,7 @@ public class FileSearchCallResponseItem : ResponseItem, IJsonModel<FileSearchCal
46864688 }
46874689 [ Experimental ( "OPENAI001" ) ]
46884690 public class FileSearchCallResult : IJsonModel < FileSearchCallResult > , IPersistableModel < FileSearchCallResult > {
4689- public IReadOnlyDictionary < string , BinaryData > Attributes { get ; }
4691+ public IDictionary < string , BinaryData > Attributes { get ; }
46904692 public string FileId { get ; set ; }
46914693 public string Filename { get ; set ; }
46924694 public float ? Score { get ; set ; }
@@ -4731,7 +4733,8 @@ public class FileSearchToolRankingOptions : IJsonModel<FileSearchToolRankingOpti
47314733 }
47324734 [ Experimental ( "OPENAI001" ) ]
47334735 public class FunctionCallOutputResponseItem : ResponseItem , IJsonModel < FunctionCallOutputResponseItem > , IPersistableModel < FunctionCallOutputResponseItem > {
4734- public string CallId { get ; }
4736+ public FunctionCallOutputResponseItem ( string callId , string functionOutput ) ;
4737+ public string CallId { get ; set ; }
47354738 public string FunctionOutput { get ; set ; }
47364739 public FunctionCallOutputStatus ? Status { get ; }
47374740 protected override ResponseItem JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
@@ -4747,7 +4750,8 @@ public enum FunctionCallOutputStatus {
47474750 }
47484751 [ Experimental ( "OPENAI001" ) ]
47494752 public class FunctionCallResponseItem : ResponseItem , IJsonModel < FunctionCallResponseItem > , IPersistableModel < FunctionCallResponseItem > {
4750- public string CallId { get ; }
4753+ public FunctionCallResponseItem ( string callId , string functionName , BinaryData functionArguments ) ;
4754+ public string CallId { get ; set ; }
47514755 public BinaryData FunctionArguments { get ; set ; }
47524756 public string FunctionName { get ; set ; }
47534757 public FunctionCallStatus ? Status { get ; }
@@ -4873,9 +4877,9 @@ public static class OpenAIResponsesModelFactory {
48734877 public class ReasoningResponseItem : ResponseItem , IJsonModel < ReasoningResponseItem > , IPersistableModel < ReasoningResponseItem > {
48744878 public ReasoningResponseItem ( IEnumerable < ReasoningSummaryPart > summaryParts ) ;
48754879 public ReasoningResponseItem ( string summaryText ) ;
4876- public string EncryptedContent { get ; }
4880+ public string EncryptedContent { get ; set ; }
48774881 public ReasoningStatus ? Status { get ; }
4878- public IReadOnlyList < ReasoningSummaryPart > SummaryParts { get ; }
4882+ public IList < ReasoningSummaryPart > SummaryParts { get ; }
48794883 public string GetSummaryText ( ) ;
48804884 protected override ResponseItem JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
48814885 protected override void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
@@ -4890,7 +4894,7 @@ public enum ReasoningStatus {
48904894 }
48914895 [ Experimental ( "OPENAI001" ) ]
48924896 public class ReasoningSummaryPart : IJsonModel < ReasoningSummaryPart > , IPersistableModel < ReasoningSummaryPart > {
4893- public static ReasoningSummaryPart CreateTextPart ( string text ) ;
4897+ public static ReasoningSummaryTextPart CreateTextPart ( string text ) ;
48944898 protected virtual ReasoningSummaryPart JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
48954899 protected virtual void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
48964900 protected virtual ReasoningSummaryPart PersistableModelCreateCore ( BinaryData data , ModelReaderWriterOptions options ) ;
@@ -5078,14 +5082,10 @@ public class ResponseItem : IJsonModel<ResponseItem>, IPersistableModel<Response
50785082 [ Experimental ( "OPENAICUA001" ) ]
50795083 public static ComputerCallResponseItem CreateComputerCallItem ( string callId , ComputerCallAction action , IEnumerable < ComputerCallSafetyCheck > pendingSafetyChecks ) ;
50805084 [ Experimental ( "OPENAICUA001" ) ]
5081- public static ComputerCallOutputResponseItem CreateComputerCallOutputItem ( string callId , IList < ComputerCallSafetyCheck > acknowledgedSafetyChecks , BinaryData screenshotImageBytes , string screenshotImageBytesMediaType ) ;
5082- [ Experimental ( "OPENAICUA001" ) ]
5083- public static ComputerCallOutputResponseItem CreateComputerCallOutputItem ( string callId , IList < ComputerCallSafetyCheck > acknowledgedSafetyChecks , string screenshotImageFileId ) ;
5084- [ Experimental ( "OPENAICUA001" ) ]
5085- public static ComputerCallOutputResponseItem CreateComputerCallOutputItem ( string callId , IList < ComputerCallSafetyCheck > acknowledgedSafetyChecks , Uri screenshotImageUri ) ;
5085+ public static ComputerCallOutputResponseItem CreateComputerCallOutputItem ( string callId , ComputerCallOutput output ) ;
50865086 public static MessageResponseItem CreateDeveloperMessageItem ( IEnumerable < ResponseContentPart > contentParts ) ;
50875087 public static MessageResponseItem CreateDeveloperMessageItem ( string inputTextContent ) ;
5088- public static FileSearchCallResponseItem CreateFileSearchCallItem ( IEnumerable < string > queries , IEnumerable < FileSearchCallResult > results ) ;
5088+ public static FileSearchCallResponseItem CreateFileSearchCallItem ( IEnumerable < string > queries ) ;
50895089 public static FunctionCallResponseItem CreateFunctionCallItem ( string callId , string functionName , BinaryData functionArguments ) ;
50905090 public static FunctionCallOutputResponseItem CreateFunctionCallOutputItem ( string callId , string functionOutput ) ;
50915091 public static ReasoningResponseItem CreateReasoningItem ( IEnumerable < ReasoningSummaryPart > summaryParts ) ;
@@ -5557,6 +5557,7 @@ public class StreamingResponseWebSearchCallSearchingUpdate : StreamingResponseUp
55575557 }
55585558 [ Experimental ( "OPENAI001" ) ]
55595559 public class WebSearchCallResponseItem : ResponseItem , IJsonModel < WebSearchCallResponseItem > , IPersistableModel < WebSearchCallResponseItem > {
5560+ public WebSearchCallResponseItem ( ) ;
55605561 public WebSearchCallStatus ? Status { get ; }
55615562 protected override ResponseItem JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
55625563 protected override void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
0 commit comments