diff --git a/OpenAI-DotNet/FineTuning/FineTuningEndpoint.cs b/OpenAI-DotNet/FineTuning/FineTuningEndpoint.cs index 59047c22..a68ead39 100644 --- a/OpenAI-DotNet/FineTuning/FineTuningEndpoint.cs +++ b/OpenAI-DotNet/FineTuning/FineTuningEndpoint.cs @@ -76,7 +76,7 @@ public async Task GetJobInfoAsync(string jobId, CancellationToken c var response = await Api.Client.GetAsync(GetUrl($"/jobs/{jobId}"), cancellationToken).ConfigureAwait(false); var responseAsString = await response.ReadAsStringAsync(EnableDebug, cancellationToken).ConfigureAwait(false); var job = JsonSerializer.Deserialize(responseAsString, OpenAIClient.JsonSerializationOptions); - job.Events = (await ListEventsAsync(job, cancellationToken: cancellationToken).ConfigureAwait(false)).Events; + job.Events = (await ListJobEventsAsync(job, cancellationToken: cancellationToken).ConfigureAwait(false)).Events; return job; } @@ -104,7 +104,7 @@ public async Task CancelJobAsync(string jobId, CancellationToken cancellat /// Optional, . /// List of events for . /// - public async Task ListEventsAsync(string jobId, int? limit = null, string after = null, CancellationToken cancellationToken = default) + public async Task ListJobEventsAsync(string jobId, int? limit = null, string after = null, CancellationToken cancellationToken = default) { var parameters = new Dictionary();