Skip to content

Commit 1c6599e

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
docs: update deprecation messages (#1275)
1 parent f5139d4 commit 1c6599e

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

src/resources/chat/completions.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ export interface ChatCompletionAssistantMessageParam {
163163
content?: string | Array<ChatCompletionContentPartText | ChatCompletionContentPartRefusal> | null;
164164

165165
/**
166-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
167-
* a function that should be called, as generated by the model.
166+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
167+
* function that should be called, as generated by the model.
168168
*/
169169
function_call?: ChatCompletionAssistantMessageParam.FunctionCall | null;
170170

@@ -198,8 +198,8 @@ export namespace ChatCompletionAssistantMessageParam {
198198
}
199199

200200
/**
201-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
202-
* a function that should be called, as generated by the model.
201+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
202+
* function that should be called, as generated by the model.
203203
*/
204204
export interface FunctionCall {
205205
/**
@@ -360,8 +360,8 @@ export namespace ChatCompletionChunk {
360360
content?: string | null;
361361

362362
/**
363-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
364-
* a function that should be called, as generated by the model.
363+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
364+
* function that should be called, as generated by the model.
365365
*/
366366
function_call?: Delta.FunctionCall;
367367

@@ -380,8 +380,8 @@ export namespace ChatCompletionChunk {
380380

381381
export namespace Delta {
382382
/**
383-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
384-
* a function that should be called, as generated by the model.
383+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
384+
* function that should be called, as generated by the model.
385385
*/
386386
export interface FunctionCall {
387387
/**
@@ -620,8 +620,8 @@ export interface ChatCompletionMessage {
620620
audio?: ChatCompletionAudio | null;
621621

622622
/**
623-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
624-
* a function that should be called, as generated by the model.
623+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
624+
* function that should be called, as generated by the model.
625625
*/
626626
function_call?: ChatCompletionMessage.FunctionCall | null;
627627

@@ -633,8 +633,8 @@ export interface ChatCompletionMessage {
633633

634634
export namespace ChatCompletionMessage {
635635
/**
636-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
637-
* a function that should be called, as generated by the model.
636+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
637+
* function that should be called, as generated by the model.
638638
*/
639639
export interface FunctionCall {
640640
/**

src/resources/files.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,13 @@ export interface FileObject {
168168
| 'vision';
169169

170170
/**
171-
* @deprecated: Deprecated. The current status of the file, which can be either
171+
* @deprecated Deprecated. The current status of the file, which can be either
172172
* `uploaded`, `processed`, or `error`.
173173
*/
174174
status: 'uploaded' | 'processed' | 'error';
175175

176176
/**
177-
* @deprecated: Deprecated. For details on why a fine-tuning training file failed
177+
* @deprecated Deprecated. For details on why a fine-tuning training file failed
178178
* validation, see the `error` field on `fine_tuning.job`.
179179
*/
180180
status_details?: string;

src/resources/fine-tuning/jobs/jobs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ export interface JobCreateParams {
516516

517517
export namespace JobCreateParams {
518518
/**
519-
* @deprecated: The hyperparameters used for the fine-tuning job. This value is now
519+
* @deprecated The hyperparameters used for the fine-tuning job. This value is now
520520
* deprecated in favor of `method`, and should be passed in under the `method`
521521
* parameter.
522522
*/

0 commit comments

Comments
 (0)