Skip to content

Commit 29b56c6

Browse files
chore(internal): add constant for default timeout (#960)
1 parent ea4a68c commit 29b56c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ export class OpenAI extends Core.APIClient {
184184
}
185185

186186
static OpenAI = this;
187+
static DEFAULT_TIMEOUT = 600000; // 10 minutes
187188

188189
static OpenAIError = Errors.OpenAIError;
189190
static APIError = Errors.APIError;

0 commit comments

Comments
 (0)