Skip to content

Commit

Permalink
Modify timeout of ky to unlimited
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo-ma committed Feb 6, 2023
1 parent 80be405 commit 00ebd3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/chatgpt_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class ChatGPTClient {
max_tokens: 1024,
temperature: 0,
},
timeout: 30000,
timeout: false,
},
).json<OpenAICompletionsResponse>();
} catch (error) {
Expand Down

0 comments on commit 00ebd3e

Please sign in to comment.