Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 111
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-a473967d1766dc155994d932fbc4a5bcbd1c140a37c20d0a4065e1bf0640536d.yml
openapi_spec_hash: 67cdc62b0d6c8b1de29b7dc54b265749
openapi_spec_hash: 21ceaf9a3984c9327d82ca2625f3a9dd
config_hash: 7b53f96f897ca1b3407a5341a6f820db
4 changes: 2 additions & 2 deletions src/resources/chat/completions/completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export interface ChatCompletion {
* Can be used in conjunction with the `seed` request parameter to understand when
* backend changes have been made that might impact determinism.
*/
system_fingerprint?: string;
system_fingerprint?: string | null;

/**
* Usage statistics for the completion request.
Expand Down Expand Up @@ -443,7 +443,7 @@ export interface ChatCompletionChunk {
* Can be used in conjunction with the `seed` request parameter to understand when
* backend changes have been made that might impact determinism.
*/
system_fingerprint?: string;
system_fingerprint?: string | null;

/**
* An optional field that will only be present when you set
Expand Down
2 changes: 1 addition & 1 deletion src/resources/completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export interface Completion {
* Can be used in conjunction with the `seed` request parameter to understand when
* backend changes have been made that might impact determinism.
*/
system_fingerprint?: string;
system_fingerprint?: string | null;

/**
* Usage statistics for the completion request.
Expand Down
7 changes: 4 additions & 3 deletions src/resources/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ export interface FileObject {

/**
* The intended purpose of the file. Supported values are `assistants`,
* `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`
* and `vision`.
* `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results`,
* `vision` and `user_data`.
*/
purpose:
| 'assistants'
Expand All @@ -126,7 +126,8 @@ export interface FileObject {
| 'batch_output'
| 'fine-tune'
| 'fine-tune-results'
| 'vision';
| 'vision'
| 'user_data';

/**
* @deprecated Deprecated. The current status of the file, which can be either
Expand Down
8 changes: 4 additions & 4 deletions src/resources/responses/responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2809,9 +2809,9 @@ export interface ResponseMcpCallArgumentsDeltaEvent {
sequence_number: number;

/**
* The type of the event. Always 'response.mcp_call.arguments_delta'.
* The type of the event. Always 'response.mcp_call.arguments.delta'.
*/
type: 'response.mcp_call.arguments_delta';
type: 'response.mcp_call.arguments.delta';
}

/**
Expand Down Expand Up @@ -3499,9 +3499,9 @@ export interface ResponseOutputTextAnnotationAddedEvent {
sequence_number: number;

/**
* The type of the event. Always 'response.output_text_annotation.added'.
* The type of the event. Always 'response.output_text.annotation.added'.
*/
type: 'response.output_text_annotation.added';
type: 'response.output_text.annotation.added';
}

/**
Expand Down
20 changes: 0 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -941,8 +941,6 @@
version "20.17.6"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.6.tgz#6e4073230c180d3579e8c60141f99efdf5df0081"
integrity sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==
dependencies:
undici-types "~6.19.2"

"@types/stack-utils@^2.0.0":
version "2.0.3"
Expand Down Expand Up @@ -1340,13 +1338,6 @@ cli-highlight@^2.1.11:
version "2.1.11"
resolved "https://registry.yarnpkg.com/cli-highlight/-/cli-highlight-2.1.11.tgz#49736fa452f0aaf4fae580e30acb26828d2dc1bf"
integrity sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==
dependencies:
chalk "^4.0.0"
highlight.js "^10.7.1"
mz "^2.4.0"
parse5 "^5.1.1"
parse5-htmlparser2-tree-adapter "^6.0.0"
yargs "^16.0.0"

cli-table3@^0.6.3, cli-table3@^0.6.5:
version "0.6.5"
Expand Down Expand Up @@ -1389,8 +1380,6 @@ color-convert@^1.9.0:
version "1.9.3"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==
dependencies:
color-name "1.1.3"

color-convert@^2.0.1:
version "2.0.1"
Expand Down Expand Up @@ -2217,9 +2206,6 @@ jest-leak-detector@^29.7.0:
version "29.7.0"
resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz#5b7ec0dadfdfec0ca383dc9aa016d36b5ea4c728"
integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==
dependencies:
jest-get-type "^29.6.3"
pretty-format "^29.7.0"

jest-matcher-utils@^29.7.0:
version "29.7.0"
Expand Down Expand Up @@ -3068,8 +3054,6 @@ skin-tone@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/skin-tone/-/skin-tone-2.0.0.tgz#4e3933ab45c0d4f4f781745d64b9f4c208e41237"
integrity sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==
dependencies:
unicode-emoji-modifier-base "^1.0.0"

slash@^3.0.0:
version "3.0.0"
Expand Down Expand Up @@ -3120,10 +3104,6 @@ string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"

string_decoder@^1.1.1:
version "1.3.0"
Expand Down
Loading