Is there any way to prevent response like "message": "Maximum execution time of 60 seconds exceeded",

I did a API call with cURL in php and every time i recived below response

**"message": "Maximum execution time of 60 seconds exceeded",**

Sample code of my curl call is :

(
    [model] => gpt-4
    [temperature] => 0.72
    [max_tokens] => 10
    [top_p] => 1
    [frequency_penalty] => 0.6
    [presence_penalty] => 0
    [messages] => Array
        (
            [0] => Array
                (
                    [role] => assistant
                    [content] => Generate JSON response for dummy prompt!
                )

        )

)

Any suggestion ?

Is that the output in the curl response or where are you getting that message? May need to share more of your code. Could try increasing the timeout settings of curl.