How to solve Discourse AI tool call timeout? Can the Discourse timeout be adjusted, and how?

My API takes 20 to 30 seconds, are there any good solutions?