diff --git a/src/Custom/Responses/OpenAIResponseClient.cs b/src/Custom/Responses/OpenAIResponseClient.cs index aebbdc588..9bf32b83f 100644 --- a/src/Custom/Responses/OpenAIResponseClient.cs +++ b/src/Custom/Responses/OpenAIResponseClient.cs @@ -119,6 +119,12 @@ protected internal OpenAIResponseClient(ClientPipeline pipeline, string model, O [Experimental("OPENAI001")] public Uri Endpoint => _endpoint; + /// + /// Gets the name of the model used in requests sent to the service. + /// + [Experimental("OPENAI001")] + public string Model => _model; + public virtual Task> CreateResponseAsync(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default) { return CreateResponseAsync(inputItems, options, cancellationToken.ToRequestOptions() ?? new RequestOptions());