Skip to content

Commit 22f7432

Browse files
committed
gptel: Increase default Curl timeout (#875)
* gptel-curl.el (gptel-curl--common-args): Increase default Curl speed-time option (timeout) to 7200 seconds.
1 parent 7e103f3 commit 22f7432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gptel-curl.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ See `gptel-backend'."
5555
(defconst gptel-curl--common-args
5656
(if (memq system-type '(windows-nt ms-dos))
5757
'("--disable" "--location" "--silent" "-XPOST"
58-
"-y300" "-Y1" "-D-")
58+
"-y7200" "-Y1" "-D-")
5959
'("--disable" "--location" "--silent" "--compressed"
60-
"-XPOST" "-y300" "-Y1" "-D-"))
60+
"-XPOST" "-y7200" "-Y1" "-D-"))
6161
"Arguments always passed to Curl for gptel queries.")
6262

6363
(defun gptel-curl--get-args (info token)

0 commit comments

Comments
 (0)