@@ -1845,7 +1845,7 @@ public class FunctionChatMessage : ChatMessage, IJsonModel<FunctionChatMessage>,
18451845 protected override BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
18461846 }
18471847 public static class OpenAIChatModelFactory {
1848- public static ChatCompletion ChatCompletion ( string id = null , ChatFinishReason finishReason = ChatFinishReason . Stop , ChatMessageContent content = null , string refusal = null , IEnumerable < ChatToolCall > toolCalls = null , ChatMessageRole role = ChatMessageRole . System , ChatFunctionCall functionCall = null , IEnumerable < ChatTokenLogProbabilityDetails > contentTokenLogProbabilities = null , IEnumerable < ChatTokenLogProbabilityDetails > refusalTokenLogProbabilities = null , DateTimeOffset createdAt = default , string model = null , string systemFingerprint = null , ChatTokenUsage usage = null , ChatOutputAudio outputAudio = null , IEnumerable < ChatMessageAnnotation > messageAnnotations = null ) ;
1848+ public static ChatCompletion ChatCompletion ( string id = null , ChatFinishReason finishReason = ChatFinishReason . Stop , ChatMessageContent content = null , string refusal = null , IEnumerable < ChatToolCall > toolCalls = null , ChatMessageRole role = ChatMessageRole . System , ChatFunctionCall functionCall = null , IEnumerable < ChatTokenLogProbabilityDetails > contentTokenLogProbabilities = null , IEnumerable < ChatTokenLogProbabilityDetails > refusalTokenLogProbabilities = null , DateTimeOffset createdAt = default , string model = null , ChatServiceTier ? serviceTier = null , string systemFingerprint = null , ChatTokenUsage usage = null , ChatOutputAudio outputAudio = null , IEnumerable < ChatMessageAnnotation > messageAnnotations = null ) ;
18491849 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
18501850 public static ChatCompletion ChatCompletion ( string id , ChatFinishReason finishReason , ChatMessageContent content , string refusal , IEnumerable < ChatToolCall > toolCalls , ChatMessageRole role , ChatFunctionCall functionCall , IEnumerable < ChatTokenLogProbabilityDetails > contentTokenLogProbabilities , IEnumerable < ChatTokenLogProbabilityDetails > refusalTokenLogProbabilities , DateTimeOffset createdAt , string model , string systemFingerprint , ChatTokenUsage usage ) ;
18511851 public static ChatInputTokenUsageDetails ChatInputTokenUsageDetails ( int audioTokenCount = 0 , int cachedTokenCount = 0 ) ;
@@ -1861,7 +1861,7 @@ public static class OpenAIChatModelFactory {
18611861 public static ChatTokenUsage ChatTokenUsage ( int outputTokenCount = 0 , int inputTokenCount = 0 , int totalTokenCount = 0 , ChatOutputTokenUsageDetails outputTokenDetails = null , ChatInputTokenUsageDetails inputTokenDetails = null ) ;
18621862 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
18631863 public static ChatTokenUsage ChatTokenUsage ( int outputTokenCount , int inputTokenCount , int totalTokenCount , ChatOutputTokenUsageDetails outputTokenDetails ) ;
1864- public static StreamingChatCompletionUpdate StreamingChatCompletionUpdate ( string completionId = null , ChatMessageContent contentUpdate = null , StreamingChatFunctionCallUpdate functionCallUpdate = null , IEnumerable < StreamingChatToolCallUpdate > toolCallUpdates = null , ChatMessageRole ? role = null , string refusalUpdate = null , IEnumerable < ChatTokenLogProbabilityDetails > contentTokenLogProbabilities = null , IEnumerable < ChatTokenLogProbabilityDetails > refusalTokenLogProbabilities = null , ChatFinishReason ? finishReason = null , DateTimeOffset createdAt = default , string model = null , string systemFingerprint = null , ChatTokenUsage usage = null , StreamingChatOutputAudioUpdate outputAudioUpdate = null ) ;
1864+ public static StreamingChatCompletionUpdate StreamingChatCompletionUpdate ( string completionId = null , ChatMessageContent contentUpdate = null , StreamingChatFunctionCallUpdate functionCallUpdate = null , IEnumerable < StreamingChatToolCallUpdate > toolCallUpdates = null , ChatMessageRole ? role = null , string refusalUpdate = null , IEnumerable < ChatTokenLogProbabilityDetails > contentTokenLogProbabilities = null , IEnumerable < ChatTokenLogProbabilityDetails > refusalTokenLogProbabilities = null , ChatFinishReason ? finishReason = null , DateTimeOffset createdAt = default , string model = null , ChatServiceTier ? serviceTier = null , string systemFingerprint = null , ChatTokenUsage usage = null , StreamingChatOutputAudioUpdate outputAudioUpdate = null ) ;
18651865 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
18661866 public static StreamingChatCompletionUpdate StreamingChatCompletionUpdate ( string completionId , ChatMessageContent contentUpdate , StreamingChatFunctionCallUpdate functionCallUpdate , IEnumerable < StreamingChatToolCallUpdate > toolCallUpdates , ChatMessageRole ? role , string refusalUpdate , IEnumerable < ChatTokenLogProbabilityDetails > contentTokenLogProbabilities , IEnumerable < ChatTokenLogProbabilityDetails > refusalTokenLogProbabilities , ChatFinishReason ? finishReason , DateTimeOffset createdAt , string model , string systemFingerprint , ChatTokenUsage usage ) ;
18671867 [ Obsolete ( "This class is obsolete. Please use StreamingChatToolCallUpdate instead." ) ]
@@ -4287,7 +4287,7 @@ public class OpenAIResponseClient {
42874287 }
42884288 public static class OpenAIResponsesModelFactory {
42894289 public static MessageResponseItem MessageResponseItem ( string id = null , MessageRole role = MessageRole . Assistant , MessageStatus ? status = null ) ;
4290- public static OpenAIResponse OpenAIResponse ( string id = null , DateTimeOffset createdAt = default , ResponseStatus ? status = null , ResponseError error = null , ResponseTokenUsage usage = null , string endUserId = null , ResponseReasoningOptions reasoningOptions = null , int ? maxOutputTokenCount = null , ResponseTextOptions textOptions = null , ResponseTruncationMode ? truncationMode = null , ResponseIncompleteStatusDetails incompleteStatusDetails = null , IEnumerable < ResponseItem > outputItems = null , bool parallelToolCallsEnabled = false , ResponseToolChoice toolChoice = null , string model = null , IDictionary < string , string > metadata = null , float ? temperature = null , float ? topP = null , string previousResponseId = null , bool ? background = null , string instructions = null , IEnumerable < ResponseTool > tools = null ) ;
4290+ public static OpenAIResponse OpenAIResponse ( string id = null , DateTimeOffset createdAt = default , ResponseStatus ? status = null , ResponseError error = null , ResponseTokenUsage usage = null , string endUserId = null , ResponseReasoningOptions reasoningOptions = null , int ? maxOutputTokenCount = null , ResponseTextOptions textOptions = null , ResponseTruncationMode ? truncationMode = null , ResponseIncompleteStatusDetails incompleteStatusDetails = null , IEnumerable < ResponseItem > outputItems = null , bool parallelToolCallsEnabled = false , ResponseToolChoice toolChoice = null , string model = null , IDictionary < string , string > metadata = null , float ? temperature = null , float ? topP = null , ResponseServiceTier ? serviceTier = null , string previousResponseId = null , bool ? background = null , string instructions = null , IEnumerable < ResponseTool > tools = null ) ;
42914291 public static ReasoningResponseItem ReasoningResponseItem ( string id = null , string encryptedContent = null , ReasoningStatus ? status = null , IEnumerable < ReasoningSummaryPart > summaryParts = null ) ;
42924292 public static ReasoningResponseItem ReasoningResponseItem ( string id = null , string encryptedContent = null , ReasoningStatus ? status = null , string summaryText = null ) ;
42934293 public static ReferenceResponseItem ReferenceResponseItem ( string id = null ) ;
0 commit comments