@@ -34,6 +34,7 @@ public class OpenAIFile
34
34
public class OpenAIFileResponse : OpenAIFile , IResponse
35
35
{
36
36
public ApiError Error { get ; set ; }
37
+ public string Warning { get ; set ; }
37
38
}
38
39
39
40
public class ApiError
@@ -56,6 +57,7 @@ public struct Auth
56
57
public struct ListModelsResponse : IResponse
57
58
{
58
59
public ApiError Error { get ; set ; }
60
+ public string Warning { get ; set ; }
59
61
public string Object { get ; set ; }
60
62
public List < OpenAIModel > Data { get ; set ; }
61
63
}
@@ -74,6 +76,7 @@ public class OpenAIModel
74
76
public class OpenAIModelResponse : OpenAIModel , IResponse
75
77
{
76
78
public ApiError Error { get ; set ; }
79
+ public string Warning { get ; set ; }
77
80
}
78
81
#endregion
79
82
@@ -96,6 +99,7 @@ public sealed class CreateChatCompletionRequest
96
99
public struct CreateChatCompletionResponse : IResponse
97
100
{
98
101
public ApiError Error { get ; set ; }
102
+ public string Warning { get ; set ; }
99
103
public string Model { get ; set ; }
100
104
public string Id { get ; set ; }
101
105
public string Object { get ; set ; }
@@ -148,6 +152,7 @@ public class CreateAudioTranslationRequest: CreateAudioRequestBase { }
148
152
public struct CreateAudioResponse : IResponse
149
153
{
150
154
public ApiError Error { get ; set ; }
155
+ public string Warning { get ; set ; }
151
156
public string Text { get ; set ; }
152
157
}
153
158
#endregion
@@ -176,6 +181,7 @@ public sealed class CreateCompletionRequest
176
181
public struct CreateCompletionResponse : IResponse
177
182
{
178
183
public ApiError Error { get ; set ; }
184
+ public string Warning { get ; set ; }
179
185
public string Id { get ; set ; }
180
186
public string Object { get ; set ; }
181
187
public long Created { get ; set ; }
@@ -199,6 +205,7 @@ public sealed class CreateEditRequest
199
205
public struct CreateEditResponse : IResponse
200
206
{
201
207
public ApiError Error { get ; set ; }
208
+ public string Warning { get ; set ; }
202
209
public string Object { get ; set ; }
203
210
public long Created { get ; set ; }
204
211
public List < Choice > Choices { get ; set ; }
@@ -235,6 +242,7 @@ public sealed class CreateImageVariationRequest: CreateImageRequestBase
235
242
public struct CreateImageResponse : IResponse
236
243
{
237
244
public ApiError Error { get ; set ; }
245
+ public string Warning { get ; set ; }
238
246
public long Created { get ; set ; }
239
247
public List < ImageData > Data { get ; set ; }
240
248
}
@@ -257,6 +265,7 @@ public struct CreateEmbeddingsRequest
257
265
public struct CreateEmbeddingsResponse : IResponse
258
266
{
259
267
public ApiError Error { get ; set ; }
268
+ public string Warning { get ; set ; }
260
269
public string Object { get ; set ; }
261
270
public List < EmbeddingData > Data ;
262
271
public string Model { get ; set ; }
@@ -275,13 +284,15 @@ public struct EmbeddingData
275
284
public struct ListFilesResponse : IResponse
276
285
{
277
286
public ApiError Error { get ; set ; }
287
+ public string Warning { get ; set ; }
278
288
public string Object { get ; set ; }
279
289
public List < OpenAIFile > Data { get ; set ; }
280
290
}
281
291
282
292
public struct DeleteResponse : IResponse
283
293
{
284
294
public ApiError Error { get ; set ; }
295
+ public string Warning { get ; set ; }
285
296
public string Id { get ; set ; }
286
297
public string Object { get ; set ; }
287
298
public bool Deleted { get ; set ; }
@@ -314,13 +325,15 @@ public class CreateFineTuneRequest
314
325
public struct ListFineTunesResponse : IResponse
315
326
{
316
327
public ApiError Error { get ; set ; }
328
+ public string Warning { get ; set ; }
317
329
public string Object { get ; set ; }
318
330
public List < FineTune > Data { get ; set ; }
319
331
}
320
332
321
333
public struct ListFineTuneEventsResponse : IResponse
322
334
{
323
335
public ApiError Error { get ; set ; }
336
+ public string Warning { get ; set ; }
324
337
public string Object { get ; set ; }
325
338
public List < FineTuneEvent > Data { get ; set ; }
326
339
}
@@ -345,6 +358,7 @@ public class FineTune
345
358
public class FineTuneResponse : FineTune , IResponse
346
359
{
347
360
public ApiError Error { get ; set ; }
361
+ public string Warning { get ; set ; }
348
362
}
349
363
350
364
public struct FineTuneEvent
@@ -366,6 +380,7 @@ public class CreateModerationRequest
366
380
public struct CreateModerationResponse : IResponse
367
381
{
368
382
public ApiError Error { get ; set ; }
383
+ public string Warning { get ; set ; }
369
384
public string Id { get ; set ; }
370
385
public string Model { get ; set ; }
371
386
public List < ModerationResult > Results { get ; set ; }
0 commit comments