Skip to content

Commit

Permalink
Increase default ChatGPT response timeout from 10s to 90s (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealJoeFriel committed Jul 26, 2023
1 parent 8195a30 commit 0de9992
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/
public class ChatGptService {
private static final Logger logger = LoggerFactory.getLogger(ChatGptService.class);
private static final Duration TIMEOUT = Duration.ofSeconds(10);
private static final Duration TIMEOUT = Duration.ofSeconds(90);
private static final int MAX_TOKENS = 3_000;
private boolean isDisabled = false;
private final OpenAiService openAiService;
Expand Down

0 comments on commit 0de9992

Please sign in to comment.