Skip to content

Commit 1c6f2ba

Browse files
stainless-botRobertCraigie
authored andcommitted
docs: update deprecation messages
chore: unknown commit message
1 parent 8a115a0 commit 1c6f2ba

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

src/resources/chat/completions.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ export interface ChatCompletionAssistantMessageParam {
160160
content?: string | Array<ChatCompletionContentPartText | ChatCompletionContentPartRefusal> | null;
161161

162162
/**
163-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
164-
* a function that should be called, as generated by the model.
163+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
164+
* function that should be called, as generated by the model.
165165
*/
166166
function_call?: ChatCompletionAssistantMessageParam.FunctionCall | null;
167167

@@ -195,8 +195,8 @@ export namespace ChatCompletionAssistantMessageParam {
195195
}
196196

197197
/**
198-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
199-
* a function that should be called, as generated by the model.
198+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
199+
* function that should be called, as generated by the model.
200200
*/
201201
export interface FunctionCall {
202202
/**
@@ -357,8 +357,8 @@ export namespace ChatCompletionChunk {
357357
content?: string | null;
358358

359359
/**
360-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
361-
* a function that should be called, as generated by the model.
360+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
361+
* function that should be called, as generated by the model.
362362
*/
363363
function_call?: Delta.FunctionCall;
364364

@@ -377,8 +377,8 @@ export namespace ChatCompletionChunk {
377377

378378
export namespace Delta {
379379
/**
380-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
381-
* a function that should be called, as generated by the model.
380+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
381+
* function that should be called, as generated by the model.
382382
*/
383383
export interface FunctionCall {
384384
/**
@@ -617,8 +617,8 @@ export interface ChatCompletionMessage {
617617
audio?: ChatCompletionAudio | null;
618618

619619
/**
620-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
621-
* a function that should be called, as generated by the model.
620+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
621+
* function that should be called, as generated by the model.
622622
*/
623623
function_call?: ChatCompletionMessage.FunctionCall | null;
624624

@@ -630,8 +630,8 @@ export interface ChatCompletionMessage {
630630

631631
export namespace ChatCompletionMessage {
632632
/**
633-
* @deprecated: Deprecated and replaced by `tool_calls`. The name and arguments of
634-
* a function that should be called, as generated by the model.
633+
* @deprecated Deprecated and replaced by `tool_calls`. The name and arguments of a
634+
* function that should be called, as generated by the model.
635635
*/
636636
export interface FunctionCall {
637637
/**

src/resources/files.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@ export interface FileObject {
165165
| 'vision';
166166

167167
/**
168-
* @deprecated: Deprecated. The current status of the file, which can be either
168+
* @deprecated Deprecated. The current status of the file, which can be either
169169
* `uploaded`, `processed`, or `error`.
170170
*/
171171
status: 'uploaded' | 'processed' | 'error';
172172

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ export interface JobCreateParams {
497497

498498
export namespace JobCreateParams {
499499
/**
500-
* @deprecated: The hyperparameters used for the fine-tuning job. This value is now
500+
* @deprecated The hyperparameters used for the fine-tuning job. This value is now
501501
* deprecated in favor of `method`, and should be passed in under the `method`
502502
* parameter.
503503
*/

0 commit comments

Comments
 (0)