diff --git a/backend/utils/chatgpt/chatgpt.go b/backend/utils/chatgpt/chatgpt.go index 431e636..ee0f0ca 100644 --- a/backend/utils/chatgpt/chatgpt.go +++ b/backend/utils/chatgpt/chatgpt.go @@ -68,7 +68,7 @@ Job description: req.Header.Set("Content-Type", "application/json") req.Header.Set("Authorization", "Bearer "+apiKey) - client := &http.Client{Timeout: 20 * time.Second} + client := &http.Client{Timeout: 30 * time.Second} res, err := client.Do(req) if err != nil { return GeneratedCover{}, err