@@ -133,8 +133,8 @@ export interface ChatCompletionAssistantMessageParam {
133
133
content ?: string | null ;
134
134
135
135
/**
136
- * Deprecated and replaced by `tool_calls`. The name and arguments of a function
137
- * that should be called, as generated by the model.
136
+ * @deprecated : Deprecated and replaced by `tool_calls`. The name and arguments of
137
+ * a function that should be called, as generated by the model.
138
138
*/
139
139
function_call ?: ChatCompletionAssistantMessageParam . FunctionCall ;
140
140
@@ -152,8 +152,8 @@ export interface ChatCompletionAssistantMessageParam {
152
152
153
153
export namespace ChatCompletionAssistantMessageParam {
154
154
/**
155
- * Deprecated and replaced by `tool_calls`. The name and arguments of a function
156
- * that should be called, as generated by the model.
155
+ * @deprecated : Deprecated and replaced by `tool_calls`. The name and arguments of
156
+ * a function that should be called, as generated by the model.
157
157
*/
158
158
export interface FunctionCall {
159
159
/**
@@ -250,8 +250,8 @@ export namespace ChatCompletionChunk {
250
250
content ?: string | null ;
251
251
252
252
/**
253
- * Deprecated and replaced by `tool_calls`. The name and arguments of a function
254
- * that should be called, as generated by the model.
253
+ * @deprecated : Deprecated and replaced by `tool_calls`. The name and arguments of
254
+ * a function that should be called, as generated by the model.
255
255
*/
256
256
function_call ?: Delta . FunctionCall ;
257
257
@@ -265,8 +265,8 @@ export namespace ChatCompletionChunk {
265
265
266
266
export namespace Delta {
267
267
/**
268
- * Deprecated and replaced by `tool_calls`. The name and arguments of a function
269
- * that should be called, as generated by the model.
268
+ * @deprecated : Deprecated and replaced by `tool_calls`. The name and arguments of
269
+ * a function that should be called, as generated by the model.
270
270
*/
271
271
export interface FunctionCall {
272
272
/**
@@ -378,6 +378,9 @@ export interface ChatCompletionFunctionCallOption {
378
378
name : string ;
379
379
}
380
380
381
+ /**
382
+ * @deprecated
383
+ */
381
384
export interface ChatCompletionFunctionMessageParam {
382
385
/**
383
386
* The contents of the function message.
@@ -410,8 +413,8 @@ export interface ChatCompletionMessage {
410
413
role : 'assistant' ;
411
414
412
415
/**
413
- * Deprecated and replaced by `tool_calls`. The name and arguments of a function
414
- * that should be called, as generated by the model.
416
+ * @deprecated : Deprecated and replaced by `tool_calls`. The name and arguments of
417
+ * a function that should be called, as generated by the model.
415
418
*/
416
419
function_call ?: ChatCompletionMessage . FunctionCall ;
417
420
@@ -423,8 +426,8 @@ export interface ChatCompletionMessage {
423
426
424
427
export namespace ChatCompletionMessage {
425
428
/**
426
- * Deprecated and replaced by `tool_calls`. The name and arguments of a function
427
- * that should be called, as generated by the model.
429
+ * @deprecated : Deprecated and replaced by `tool_calls`. The name and arguments of
430
+ * a function that should be called, as generated by the model.
428
431
*/
429
432
export interface FunctionCall {
430
433
/**
@@ -855,6 +858,9 @@ export interface ChatCompletionCreateParamsBase {
855
858
}
856
859
857
860
export namespace ChatCompletionCreateParams {
861
+ /**
862
+ * @deprecated
863
+ */
858
864
export interface Function {
859
865
/**
860
866
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain
0 commit comments