Skip to content

chatgpt command timeouts too early #839

@marko-radosavljevic

Description

@marko-radosavljevic

Chatgpt command crashes with: There was an error using the OpenAI API: java.net.SocketTimeoutException: timeout on all longer answers by the bot.

The solution is to raise the timeout from 10 seconds to 90+ seconds. From our tests, chatgpt can take over a minute to respond in some cases. Usually when a longer guide is needed, with code examples.

Average for a sort question with a short response is 10 seconds, for medium around 30 seconds, and for long and complex around a minute.

It's not a nice user experience to sit and wait for over a minute for the response. But we don't have a better solution, chatgpt is just slow, and a slow answer is better than erroring out with no answer.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingvalidThis issue/PR is validated and ready to be picked. This auto adds items to TJ project board.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions