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 src/lib/ChatCompletionStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ export interface ChatCompletionSnapshot {
* 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;
}

export namespace ChatCompletionSnapshot {
Expand Down
16 changes: 8 additions & 8 deletions src/resources/chat/completions/completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ export interface ChatCompletion {
* utilize scale tier credits until they are exhausted.
* - If set to 'auto', and the Project is not Scale tier enabled, the request will
* be processed using the default service tier with a lower uptime SLA and no
* latency guarentee.
* latency guarantee.
* - If set to 'default', the request will be processed using the default service
* tier with a lower uptime SLA and no latency guarentee.
* tier with a lower uptime SLA and no latency guarantee.
* - If set to 'flex', the request will be processed with the Flex Processing
* service tier.
* [Learn more](https://platform.openai.com/docs/guides/flex-processing).
Expand All @@ -299,7 +299,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 @@ -531,9 +531,9 @@ export interface ChatCompletionChunk {
* utilize scale tier credits until they are exhausted.
* - If set to 'auto', and the Project is not Scale tier enabled, the request will
* be processed using the default service tier with a lower uptime SLA and no
* latency guarentee.
* latency guarantee.
* - If set to 'default', the request will be processed using the default service
* tier with a lower uptime SLA and no latency guarentee.
* tier with a lower uptime SLA and no latency guarantee.
* - If set to 'flex', the request will be processed with the Flex Processing
* service tier.
* [Learn more](https://platform.openai.com/docs/guides/flex-processing).
Expand All @@ -549,7 +549,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 Expand Up @@ -1453,9 +1453,9 @@ export interface ChatCompletionCreateParamsBase {
* utilize scale tier credits until they are exhausted.
* - If set to 'auto', and the Project is not Scale tier enabled, the request will
* be processed using the default service tier with a lower uptime SLA and no
* latency guarentee.
* latency guarantee.
* - If set to 'default', the request will be processed using the default service
* tier with a lower uptime SLA and no latency guarentee.
* tier with a lower uptime SLA and no latency guarantee.
* - If set to 'flex', the request will be processed with the Flex Processing
* service tier.
* [Learn more](https://platform.openai.com/docs/guides/flex-processing).
Expand Down
3 changes: 2 additions & 1 deletion src/resources/completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ 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
8 changes: 4 additions & 4 deletions src/resources/responses/responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,9 @@ export interface Response {
* utilize scale tier credits until they are exhausted.
* - If set to 'auto', and the Project is not Scale tier enabled, the request will
* be processed using the default service tier with a lower uptime SLA and no
* latency guarentee.
* latency guarantee.
* - If set to 'default', the request will be processed using the default service
* tier with a lower uptime SLA and no latency guarentee.
* tier with a lower uptime SLA and no latency guarantee.
* - If set to 'flex', the request will be processed with the Flex Processing
* service tier.
* [Learn more](https://platform.openai.com/docs/guides/flex-processing).
Expand Down Expand Up @@ -4631,9 +4631,9 @@ export interface ResponseCreateParamsBase {
* utilize scale tier credits until they are exhausted.
* - If set to 'auto', and the Project is not Scale tier enabled, the request will
* be processed using the default service tier with a lower uptime SLA and no
* latency guarentee.
* latency guarantee.
* - If set to 'default', the request will be processed using the default service
* tier with a lower uptime SLA and no latency guarentee.
* tier with a lower uptime SLA and no latency guarantee.
* - If set to 'flex', the request will be processed with the Flex Processing
* service tier.
* [Learn more](https://platform.openai.com/docs/guides/flex-processing).
Expand Down