Skip to content

Commit c442805

Browse files
stainless-botRobertCraigie
authored andcommitted
fix: bump default request timeout to 10 minutes
1 parent c4e2c64 commit c442805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/completions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class Completions extends APIResource {
2121
body: CompletionCreateParams,
2222
options?: Core.RequestOptions,
2323
): Promise<Core.APIResponse<Completion | Stream<Completion>>> {
24-
return this.post('/v1/complete', { body, ...options, stream: body.stream ?? false });
24+
return this.post('/v1/complete', { body, timeout: 600000, ...options, stream: body.stream ?? false });
2525
}
2626
}
2727

0 commit comments

Comments
 (0)