using Microsoft.TypeSpec.Generator.Customizations; using System.Collections.Generic; namespace OpenAI.Chat; [CodeGenType("ChatCompletionResponseMessage")] [CodeGenSuppress("InternalChatCompletionResponseMessage", typeof(IEnumerable))] internal partial class InternalChatCompletionResponseMessage { // CUSTOM: Changed type from InternalChatCompletionResponseMessageRole. /// The role of the author of this message. [CodeGenMember("Role")] public ChatMessageRole Role { get; } = ChatMessageRole.Assistant; // CUSTOM: Changed type from string. /// The contents of the message. [CodeGenMember("Content")] public ChatMessageContent Content { get; } // CUSTOM: Changed type from InternalChatCompletionResponseMessageFunctionCall. /// Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model. [CodeGenMember("FunctionCall")] public ChatFunctionCall FunctionCall { get; } }