Skip to content
Open
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
@@ -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 {
16 changes: 8 additions & 8 deletions src/resources/chat/completions/completions.ts
Original file line number Diff line number Diff line change
@@ -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).
@@ -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.
@@ -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).
@@ -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
@@ -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).
3 changes: 2 additions & 1 deletion src/resources/completions.ts
Original file line number Diff line number Diff line change
@@ -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.
8 changes: 4 additions & 4 deletions src/resources/responses/responses.ts
Original file line number Diff line number Diff line change
@@ -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).
@@ -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).